Class AbstractBlobStore.Data
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.blob.AbstractBlobStore.Data
-
- All Implemented Interfaces:
Cache.Value
- Enclosing class:
- AbstractBlobStore
public static class AbstractBlobStore.Data extends java.lang.Object implements Cache.Value
The data for a block.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMemory()Get the memory required in bytes.java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getMemory
public int getMemory()
Description copied from interface:Cache.ValueGet the memory required in bytes. The method must always return the same value once the element is in the cache.- Specified by:
getMemoryin interfaceCache.Value- Returns:
- the memory used in bytes
-
-