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:
java.io.Serializable,scala.Equals,scala.Product
public final class LfuCachingSettingsImpl extends LfuCacheSettings implements scala.Product, java.io.Serializable
INTERNAL API- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LfuCachingSettingsImpl(int maxCapacity, int initialCapacity, scala.concurrent.duration.Duration timeToLive, scala.concurrent.duration.Duration timeToIdle)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Tapply(akka.actor.ActorSystem system)static Tapply(com.typesafe.config.Config config)static Tapply(java.lang.String configOverrides)static LfuCachingSettingsImplfromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config inner)intinitialCapacity()intmaxCapacity()protected static java.lang.Stringprefix()java.lang.StringproductPrefix()scala.concurrent.duration.DurationtimeToIdle()scala.concurrent.duration.DurationtimeToLive()-
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
-
-
-
-
Method Detail
-
fromSubConfig
public static LfuCachingSettingsImpl fromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config inner)
-
prefix
protected static java.lang.String prefix()
-
apply
public static T apply(akka.actor.ActorSystem system)
-
apply
public static T apply(java.lang.String configOverrides)
-
apply
public static T apply(com.typesafe.config.Config config)
-
maxCapacity
public int maxCapacity()
- Specified by:
maxCapacityin classLfuCacheSettings
-
initialCapacity
public int initialCapacity()
- Specified by:
initialCapacityin classLfuCacheSettings
-
timeToLive
public scala.concurrent.duration.Duration timeToLive()
- Specified by:
timeToLivein classLfuCacheSettings
-
timeToIdle
public scala.concurrent.duration.Duration timeToIdle()
- Specified by:
timeToIdlein classLfuCacheSettings
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefixin interfacescala.Product
-
-