Class FSRoot.RevisionCache

  • Enclosing class:
    FSRoot

    private static final class FSRoot.RevisionCache
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Map myCache  
      private java.util.LinkedList myKeys  
      private int mySizeLimit  
    • Constructor Summary

      Constructors 
      Constructor Description
      RevisionCache​(int limit)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(java.lang.Object key)  
      java.lang.Object fetch​(java.lang.Object key)  
      void put​(java.lang.Object key, java.lang.Object value)  
      • Methods inherited from class java.lang.Object

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

      • myKeys

        private java.util.LinkedList myKeys
      • myCache

        private java.util.Map myCache
      • mySizeLimit

        private int mySizeLimit
    • Constructor Detail

      • RevisionCache

        public RevisionCache​(int limit)
    • Method Detail

      • put

        public void put​(java.lang.Object key,
                        java.lang.Object value)
      • delete

        public void delete​(java.lang.Object key)
      • fetch

        public java.lang.Object fetch​(java.lang.Object key)