public final class BlockId extends Object
| Modifier and Type | Method and Description |
|---|---|
static long |
createBlockId(long containerId,
long sequenceNumber) |
static long |
getContainerId(long blockId) |
static long |
getMaxSequenceNumber() |
static long |
getSequenceNumber(long blockId) |
public static long createBlockId(long containerId,
long sequenceNumber)
containerId - the container id to create the block id withsequenceNumber - the sequence number to create the block id withpublic static long getContainerId(long blockId)
blockId - the block id to get the container id forpublic static long getSequenceNumber(long blockId)
blockId - the block id to get the sequene number forpublic static long getMaxSequenceNumber()
Copyright © 2015. All Rights Reserved.