Class NoGCObjectCache

  • All Implemented Interfaces:
    ObjectCache

    public abstract class NoGCObjectCache
    extends java.lang.Object
    implements ObjectCache
    • Constructor Summary

      Constructors 
      Constructor Description
      NoGCObjectCache()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract java.lang.Object createFromKey​(java.lang.Object key)  
      java.lang.Object find​(java.lang.Object key)  
      protected boolean isDirty​(java.lang.Object key, java.lang.Object cached)  
      • Methods inherited from class java.lang.Object

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

      • NoGCObjectCache

        public NoGCObjectCache()
    • Method Detail

      • find

        public java.lang.Object find​(java.lang.Object key)
                              throws java.lang.Exception
        Specified by:
        find in interface ObjectCache
        Throws:
        java.lang.Exception
      • isDirty

        protected boolean isDirty​(java.lang.Object key,
                                  java.lang.Object cached)
      • createFromKey

        protected abstract java.lang.Object createFromKey​(java.lang.Object key)
                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception