Package akka.http.caching.impl.settings
Class LfuCachingSettingsImpl
java.lang.Object
akka.http.caching.javadsl.LfuCacheSettings
akka.http.caching.scaladsl.LfuCacheSettings
akka.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
ConstructorDescriptionLfuCachingSettingsImpl
(int maxCapacity, int initialCapacity, scala.concurrent.duration.Duration timeToLive, scala.concurrent.duration.Duration timeToIdle) -
Method Summary
Modifier and TypeMethodDescriptionstatic T
apply
(akka.actor.ActorSystem system) static T
apply
(com.typesafe.config.Config config) static T
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 akka.http.caching.scaladsl.LfuCacheSettings
getInitialCapacity, getMaxCapacity, getTimeToIdle, getTimeToLive, withInitialCapacity, withMaxCapacity, withTimeToIdle, withTimeToLive
Methods inherited from class akka.http.caching.javadsl.LfuCacheSettings
create, create
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(akka.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
-