Interface Cache.Value

All Known Implementing Classes:
AbstractBlobStore.Data
Enclosing class:
Cache<K,V extends Cache.Value>

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

    Modifier and Type
    Method
    Description
    int
    Get the memory required in bytes.
  • Method Details

    • 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