Package akka.http.caching.javadsl
Class LfuCacheSettings
- java.lang.Object
-
- akka.http.caching.javadsl.LfuCacheSettings
-
- Direct Known Subclasses:
LfuCacheSettings
public abstract class LfuCacheSettings extends java.lang.Object
Public API but not intended for subclassing
-
-
Constructor Summary
Constructors Constructor Description LfuCacheSettings()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static LfuCacheSettings
create(com.typesafe.config.Config config)
static LfuCacheSettings
create(java.lang.String configOverrides)
abstract int
getInitialCapacity()
abstract int
getMaxCapacity()
abstract scala.concurrent.duration.Duration
getTimeToIdle()
abstract scala.concurrent.duration.Duration
getTimeToLive()
LfuCacheSettings
withInitialCapacity(int newInitialCapacity)
LfuCacheSettings
withMaxCapacity(int newMaxCapacity)
LfuCacheSettings
withTimeToIdle(scala.concurrent.duration.Duration newTimeToIdle)
LfuCacheSettings
withTimeToLive(scala.concurrent.duration.Duration newTimeToLive)
-
-
-
Method Detail
-
create
public static LfuCacheSettings create(com.typesafe.config.Config config)
-
create
public static LfuCacheSettings create(java.lang.String configOverrides)
-
getMaxCapacity
public abstract int getMaxCapacity()
-
getInitialCapacity
public abstract int getInitialCapacity()
-
getTimeToLive
public abstract scala.concurrent.duration.Duration getTimeToLive()
-
getTimeToIdle
public abstract scala.concurrent.duration.Duration getTimeToIdle()
-
withMaxCapacity
public LfuCacheSettings withMaxCapacity(int newMaxCapacity)
-
withInitialCapacity
public LfuCacheSettings withInitialCapacity(int newInitialCapacity)
-
withTimeToLive
public LfuCacheSettings withTimeToLive(scala.concurrent.duration.Duration newTimeToLive)
-
withTimeToIdle
public LfuCacheSettings withTimeToIdle(scala.concurrent.duration.Duration newTimeToIdle)
-
-