LfuCache

org.apache.pekko.http.caching.LfuCache

Attributes

Source
LfuCache.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
LfuCache.type

Members list

Value members

Concrete methods

def apply[K, V](implicit system: ActorSystem): Cache[K, V]

Attributes

Source
LfuCache.scala
def apply[K, V](cachingSettings: CachingSettings): Cache[K, V]

Creates a new pekko.http.caching.LfuCache, with optional expiration depending on whether a non-zero and finite timeToLive and/or timeToIdle is set or not.

Creates a new pekko.http.caching.LfuCache, with optional expiration depending on whether a non-zero and finite timeToLive and/or timeToIdle is set or not.

Attributes

Source
LfuCache.scala
def create[K, V](system: ActorSystem): Cache[K, V]

Java API Creates a new pekko.http.caching.LfuCache using configuration of the system, with optional expiration depending on whether a non-zero and finite timeToLive and/or timeToIdle is set or not.

Java API Creates a new pekko.http.caching.LfuCache using configuration of the system, with optional expiration depending on whether a non-zero and finite timeToLive and/or timeToIdle is set or not.

Attributes

Source
LfuCache.scala
def create[K, V](settings: CachingSettings): Cache[K, V]

Java API Creates a new pekko.http.caching.LfuCache, with optional expiration depending on whether a non-zero and finite timeToLive and/or timeToIdle is set or not.

Java API Creates a new pekko.http.caching.LfuCache, with optional expiration depending on whether a non-zero and finite timeToLive and/or timeToIdle is set or not.

Attributes

Source
LfuCache.scala
def toJavaMappingFunction[K, V](genValue: () => Future[V]): BiFunction[K, Executor, CompletableFuture[V]]

Attributes

Source
LfuCache.scala
def toJavaMappingFunction[K, V](loadValue: K => Future[V]): BiFunction[K, Executor, CompletableFuture[V]]

Attributes

Source
LfuCache.scala