Package org.apache.pekko.http.caching
Class LfuCache$
java.lang.Object
org.apache.pekko.http.caching.LfuCache$
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription<K,V> Cache<K, V> apply(org.apache.pekko.actor.ActorSystem system) <K,V> Cache<K, V> apply(CachingSettings cachingSettings) Creates a newpekko.http.caching.LfuCache, with optional expiration depending on whether a non-zero and finite timeToLive and/or timeToIdle is set or not.<K,V> Cache<K, V> create(org.apache.pekko.actor.ActorSystem system) Java API Creates a newpekko.http.caching.LfuCacheusing configuration of the system, with optional expiration depending on whether a non-zero and finite timeToLive and/or timeToIdle is set or not.<K,V> Cache<K, V> create(CachingSettings settings) Java API Creates a newpekko.http.caching.LfuCache, with optional expiration depending on whether a non-zero and finite timeToLive and/or timeToIdle is set or not.<K,V> BiFunction<K, Executor, CompletableFuture<V>> toJavaMappingFunction(scala.Function0<scala.concurrent.Future<V>> genValue) <K,V> BiFunction<K, Executor, CompletableFuture<V>> toJavaMappingFunction(scala.Function1<K, scala.concurrent.Future<V>> loadValue) 
- 
Field Details- 
MODULE$Static reference to the singleton instance of this Scala object.
 
- 
- 
Constructor Details- 
LfuCache$public LfuCache$()
 
- 
- 
Method Details- 
apply
- 
applyCreates a newpekko.http.caching.LfuCache, with optional expiration depending on whether a non-zero and finite timeToLive and/or timeToIdle is set or not.- Parameters:
- cachingSettings- (undocumented)
- Returns:
- (undocumented)
 
- 
createJava API Creates a newpekko.http.caching.LfuCacheusing configuration of the system, with optional expiration depending on whether a non-zero and finite timeToLive and/or timeToIdle is set or not.- Parameters:
- system- (undocumented)
- Returns:
- (undocumented)
 
- 
createJava API Creates a newpekko.http.caching.LfuCache, with optional expiration depending on whether a non-zero and finite timeToLive and/or timeToIdle is set or not.- Parameters:
- settings- (undocumented)
- Returns:
- (undocumented)
 
- 
toJavaMappingFunctionpublic <K,V> BiFunction<K,Executor, toJavaMappingFunctionCompletableFuture<V>> (scala.Function0<scala.concurrent.Future<V>> genValue) 
- 
toJavaMappingFunctionpublic <K,V> BiFunction<K,Executor, toJavaMappingFunctionCompletableFuture<V>> (scala.Function1<K, scala.concurrent.Future<V>> loadValue) 
 
-