类 DataBlockUtils
java.lang.Object
org.apache.bookkeeper.mledger.offload.jcloud.impl.DataBlockUtils
Utility class for performing various Data Block functions including:
- Calculating the data block offload key
- Calculating the data block index key
- Adding version metadata information to a Data Block
- Validating the version metadata information of a Data Block.
Additional functions can be added in to future to tag Data Blocks with information such as the compression algorithm used to compress the contents, the md5 checksum of the content for validation, date published, etc.
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static voidaddVersionInfo(org.jclouds.blobstore.domain.BlobBuilder blobBuilder, Map<String, String> userMetadata) static StringdataBlockOffloadKey(long ledgerId, UUID uuid) static StringindexBlockOffloadKey(long ledgerId, UUID uuid) static StringindexBlockOffloadKey(UUID uuid)
-
字段详细资料
-
METADATA_FORMAT_VERSION_KEY
- 另请参阅:
-
VERSION_CHECK
-
-
构造器详细资料
-
DataBlockUtils
public DataBlockUtils()
-
-
方法详细资料
-
dataBlockOffloadKey
-
indexBlockOffloadKey
-
indexBlockOffloadKey
-
addVersionInfo
-