Class LfuCache$


  • public class LfuCache$
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static LfuCache$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      LfuCache$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <K,​V>
      Cache<K,​V>
      apply​(akka.actor.ActorSystem system)  
      <K,​V>
      Cache<K,​V>
      apply​(CachingSettings cachingSettings)
      Creates a new 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​(akka.actor.ActorSystem system)
      Java API Creates a new 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.
      <K,​V>
      Cache<K,​V>
      create​(CachingSettings settings)
      Java API Creates a new LfuCache, with optional expiration depending on whether a non-zero and finite timeToLive and/or timeToIdle is set or not.
      <K,​V>
      java.util.function.BiFunction<K,​java.util.concurrent.Executor,​java.util.concurrent.CompletableFuture<V>>
      toJavaMappingFunction​(scala.Function0<scala.concurrent.Future<V>> genValue)  
      <K,​V>
      java.util.function.BiFunction<K,​java.util.concurrent.Executor,​java.util.concurrent.CompletableFuture<V>>
      toJavaMappingFunction​(scala.Function1<K,​scala.concurrent.Future<V>> loadValue)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final LfuCache$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • LfuCache$

        public LfuCache$()
    • Method Detail

      • apply

        public <K,​V> Cache<K,​V> apply​(akka.actor.ActorSystem system)
      • apply

        public <K,​V> Cache<K,​V> apply​(CachingSettings cachingSettings)
        Creates a new 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)
      • create

        public <K,​V> Cache<K,​V> create​(akka.actor.ActorSystem system)
        Java API Creates a new 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.
        Parameters:
        system - (undocumented)
        Returns:
        (undocumented)
      • create

        public <K,​V> Cache<K,​V> create​(CachingSettings settings)
        Java API Creates a new 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)
      • toJavaMappingFunction

        public <K,​V> java.util.function.BiFunction<K,​java.util.concurrent.Executor,​java.util.concurrent.CompletableFuture<V>> toJavaMappingFunction​(scala.Function0<scala.concurrent.Future<V>> genValue)
      • toJavaMappingFunction

        public <K,​V> java.util.function.BiFunction<K,​java.util.concurrent.Executor,​java.util.concurrent.CompletableFuture<V>> toJavaMappingFunction​(scala.Function1<K,​scala.concurrent.Future<V>> loadValue)