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 Tapply(com.typesafe.config.Config config) static Tstatic Tapply(org.apache.pekko.actor.ActorSystem system) static LfuCachingSettingsImplfromSubConfig(com.typesafe.config.Config root, com.typesafe.config.Config inner) intintprotected static Stringprefix()scala.concurrent.duration.Durationscala.concurrent.duration.DurationMethods inherited from class org.apache.pekko.http.caching.scaladsl.LfuCacheSettings
getInitialCapacity, getMaxCapacity, getTimeToIdle, getTimeToLive, withInitialCapacity, withMaxCapacity, withTimeToIdle, withTimeToLiveMethods inherited from class org.apache.pekko.http.caching.javadsl.LfuCacheSettings
create, create, withTimeToIdle, withTimeToLiveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods 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:
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
- Specified by:
productPrefixin interfacescala.Product
-