org.apache.jackrabbit.mk.blobs
Class AbstractBlobStore.Data

java.lang.Object
  extended by org.apache.jackrabbit.mk.blobs.AbstractBlobStore.Data
All Implemented Interfaces:
Cache.Value
Enclosing class:
AbstractBlobStore

public static class AbstractBlobStore.Data
extends Object
implements Cache.Value

The data for a block.


Method Summary
 int getMemory()
          Get the memory required in bytes.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public String toString()
Overrides:
toString in class Object

getMemory

public int getMemory()
Description copied from interface: Cache.Value
Get the memory required in bytes. The method must always return the same value once the element is in the cache.

Specified by:
getMemory in interface Cache.Value
Returns:
the memory used in bytes


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