Class ComputingCache<K,​V>

    • Constructor Summary

      Constructors 
      Constructor Description
      ComputingCache​(int capacity, java.util.function.Function<K,​V> computationFunction)  
      ComputingCache​(java.util.function.Function<K,​V> computationFunction)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      V get​(K key)  
      java.util.function.Function<K,​V> readOnlyGet()  
      • Methods inherited from class java.lang.Object

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

      • ComputingCache

        public ComputingCache​(int capacity,
                              java.util.function.Function<K,​V> computationFunction)
      • ComputingCache

        public ComputingCache​(java.util.function.Function<K,​V> computationFunction)
    • Method Detail

      • readOnlyGet

        public java.util.function.Function<K,​V> readOnlyGet()