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 int
getMemory()
Get the memory required in bytes.java.lang.String
toString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.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 interfaceCache.Value
- Returns:
- the memory used in bytes
-
-