Class RepositoryCache.Entry<V>

  • Enclosing class:
    RepositoryCache<V>

    public static class RepositoryCache.Entry<V>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Entry()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getUsage()
      Get the internal usage field.
      V getValue()
      Retrieve the cache entry
      • Methods inherited from class java.lang.Object

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

      • Entry

        public Entry()
    • Method Detail

      • getUsage

        public int getUsage()
        Get the internal usage field.
        Returns:
        how many time lock() has been called without a corresponding call to release()
      • getValue

        public V getValue()
        Retrieve the cache entry
        Returns:
        the cache entry