Class OffloadIndexEntryImpl
java.lang.Object
org.apache.bookkeeper.mledger.offload.jcloud.impl.OffloadIndexEntryImpl
- All Implemented Interfaces:
OffloadIndexEntry
The Index Entry in OffloadIndexBlock.
-
Method Summary
Modifier and TypeMethodDescriptionlongGet the offset of the block's data within the object.longGet the entryId that this entry contains.longGet the offset of this block within the object.intGet the block part id of tiered storage.static OffloadIndexEntryImplof(long entryId, int partId, long offset, long blockHeaderSize) toString()
-
Method Details
-
of
-
getEntryId
public long getEntryId()Description copied from interface:OffloadIndexEntryGet the entryId that this entry contains.- Specified by:
getEntryIdin interfaceOffloadIndexEntry
-
getPartId
public int getPartId()Description copied from interface:OffloadIndexEntryGet the block part id of tiered storage.- Specified by:
getPartIdin interfaceOffloadIndexEntry
-
getOffset
public long getOffset()Description copied from interface:OffloadIndexEntryGet the offset of this block within the object.- Specified by:
getOffsetin interfaceOffloadIndexEntry
-
getDataOffset
public long getDataOffset()Description copied from interface:OffloadIndexEntryGet the offset of the block's data within the object.- Specified by:
getDataOffsetin interfaceOffloadIndexEntry
-
toString
-