public class TierPartitionFence extends AbstractTierMetadata
| Constructor and Description |
|---|
TierPartitionFence(TopicIdPartition topicIdPartition,
PartitionFence metadata) |
TierPartitionFence(TopicIdPartition topicIdPartition,
UUID messageId,
boolean freezeLogStartOffset) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
freezeLogStartOffset() |
static int |
initialBufferSize()
The initial buffer size to use when constructing the FlatBuffer message.
|
UUID |
messageId()
Get a unique id for this message.
|
ByteBuffer |
payloadBuffer() |
OffsetAndEpoch |
stateOffsetAndEpoch()
The lastMaterializedOffsetAndEpoch for the tier partition state at the time this metadata was generated.
|
int |
tierEpoch()
tierEpoch for the tier metadata
|
TopicIdPartition |
topicIdPartition()
Topic-partition corresponding to this tier metadata.
|
String |
toString() |
TierRecordType |
type() |
deserialize, deserialize, deserializeKey, deserializeKey, equals, getTypeId, hashCode, messageIdAsBase64, serializeKey, serializeValuepublic TierPartitionFence(TopicIdPartition topicIdPartition, UUID messageId, boolean freezeLogStartOffset)
public TierPartitionFence(TopicIdPartition topicIdPartition, PartitionFence metadata)
public static int initialBufferSize()
public TierRecordType type()
type in class AbstractTierMetadatapublic ByteBuffer payloadBuffer()
payloadBuffer in class AbstractTierMetadatapublic UUID messageId()
AbstractTierMetadatamessageId in class AbstractTierMetadatapublic TopicIdPartition topicIdPartition()
AbstractTierMetadatatopicIdPartition in class AbstractTierMetadatapublic OffsetAndEpoch stateOffsetAndEpoch()
AbstractTierMetadatastateOffsetAndEpoch in class AbstractTierMetadatapublic int tierEpoch()
AbstractTierMetadatatierEpoch in class AbstractTierMetadatapublic boolean freezeLogStartOffset()