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 T
apply(akka.actor.ActorSystem system)
static T
apply(com.typesafe.config.Config config)
static T
apply(java.lang.String configOverrides)
static LfuCachingSettingsImpl
fromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config inner)
int
initialCapacity()
int
maxCapacity()
protected static java.lang.String
prefix()
java.lang.String
productPrefix()
scala.concurrent.duration.Duration
timeToIdle()
scala.concurrent.duration.Duration
timeToLive()
-
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:
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
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
-