Class HardCacheWeakIdentityMap.ReferenceCacheKey

    • Field Detail

      • referenceNode

        protected LinkedNode referenceNode
    • Constructor Detail

      • ReferenceCacheKey

        public ReferenceCacheKey​(Object primaryKey,
                                 Object object,
                                 Object writeLockValue,
                                 long readTime,
                                 boolean isIsolated)
    • Method Detail

      • getReferenceCacheNode

        public LinkedNode getReferenceCacheNode()
      • setReferenceCacheNode

        public void setReferenceCacheNode​(LinkedNode referenceNode)
      • updateAccess

        public void updateAccess()
        Notifies that cache key that it has been accessed. Allows the LRU sub-cache to be maintained, the cache node must be moved to the front of the list.
        Overrides:
        updateAccess in class CacheKey