Interface Cache.Value

  • Enclosing class:
    Cache<K,​V extends Cache.Value>

    public static interface Cache.Value
    A cacheable object.
    • Method Detail

      • getMemory

        int getMemory()
        Get the memory required in bytes. The method must always return the same value once the element is in the cache.
        Returns:
        the memory used in bytes