Class LfuCachingSettingsImpl
java.lang.Object
org.apache.pekko.http.caching.javadsl.LfuCacheSettings
org.apache.pekko.http.caching.scaladsl.LfuCacheSettings
org.apache.pekko.http.caching.impl.settings.LfuCachingSettingsImpl
- All Implemented Interfaces:
Serializable
,scala.Equals
,scala.Product
public final class LfuCachingSettingsImpl
extends LfuCacheSettings
implements scala.Product, Serializable
INTERNAL API
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLfuCachingSettingsImpl
(int maxCapacity, int initialCapacity, scala.concurrent.duration.Duration timeToLive, scala.concurrent.duration.Duration timeToIdle) -
Method Summary
Modifier and TypeMethodDescriptionstatic T
apply
(com.typesafe.config.Config config) static T
static T
apply
(org.apache.pekko.actor.ActorSystem system) static LfuCachingSettingsImpl
fromSubConfig
(com.typesafe.config.Config root, com.typesafe.config.Config inner) int
int
protected static String
prefix()
scala.concurrent.duration.Duration
scala.concurrent.duration.Duration
Methods inherited from class org.apache.pekko.http.caching.scaladsl.LfuCacheSettings
getInitialCapacity, getMaxCapacity, getTimeToIdle, getTimeToLive, withInitialCapacity, withMaxCapacity, withTimeToIdle, withTimeToLive
Methods inherited from class org.apache.pekko.http.caching.javadsl.LfuCacheSettings
create, create, withTimeToIdle, withTimeToLive
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator
-
Constructor Details
-
LfuCachingSettingsImpl
public LfuCachingSettingsImpl(int maxCapacity, int initialCapacity, scala.concurrent.duration.Duration timeToLive, scala.concurrent.duration.Duration timeToIdle)
-
-
Method Details
-
fromSubConfig
public static LfuCachingSettingsImpl fromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config inner) -
prefix
-
apply
public static T apply(org.apache.pekko.actor.ActorSystem system) -
apply
-
apply
public static T apply(com.typesafe.config.Config config) -
maxCapacity
public int maxCapacity()- Specified by:
maxCapacity
in classLfuCacheSettings
-
initialCapacity
public int initialCapacity()- Specified by:
initialCapacity
in classLfuCacheSettings
-
timeToLive
public scala.concurrent.duration.Duration timeToLive()- Specified by:
timeToLive
in classLfuCacheSettings
-
timeToIdle
public scala.concurrent.duration.Duration timeToIdle()- Specified by:
timeToIdle
in classLfuCacheSettings
-
productPrefix
- Specified by:
productPrefix
in interfacescala.Product
-