Package akka.http.caching.javadsl
Class LfuCacheSettings
java.lang.Object
akka.http.caching.javadsl.LfuCacheSettings
- Direct Known Subclasses:
LfuCacheSettings
Public API but not intended for subclassing
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LfuCacheSettings
create
(com.typesafe.config.Config config) static LfuCacheSettings
abstract int
abstract int
abstract scala.concurrent.duration.Duration
abstract scala.concurrent.duration.Duration
withInitialCapacity
(int newInitialCapacity) withMaxCapacity
(int newMaxCapacity) withTimeToIdle
(scala.concurrent.duration.Duration newTimeToIdle) withTimeToLive
(scala.concurrent.duration.Duration newTimeToLive)
-
Constructor Details
-
LfuCacheSettings
public LfuCacheSettings()
-
-
Method Details
-
create
-
create
-
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
-
withInitialCapacity
-
withTimeToLive
-
withTimeToIdle
-