org.apache.jackrabbit.mk.util
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
 int getMemory()
          Get the memory required in bytes.
 

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


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.