Class SimpleCacheSynchronized<K,​V>


  • public class SimpleCacheSynchronized<K,​V>
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      V get​(K key)  
      V put​(K key, V value)  
      V remove​(K key)  
      • Methods inherited from class java.lang.Object

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

      • SimpleCacheSynchronized

        public SimpleCacheSynchronized​(int maxSize,
                                       long time)
    • Method Detail

      • get

        public V get​(K key)
      • put

        public V put​(K key,
                     V value)
      • remove

        public V remove​(K key)