public class TierSegmentDeleteComplete extends AbstractTierSegmentMetadata
Constructor and Description |
---|
TierSegmentDeleteComplete(TopicIdPartition topicIdPartition,
int tierEpoch,
UUID objectId,
OffsetAndEpoch stateOffset,
long timestamp) |
TierSegmentDeleteComplete(TopicIdPartition topicIdPartition,
int tierEpoch,
UUID objectId,
Optional<OffsetAndEpoch> stateOffsetAndEpoch) |
TierSegmentDeleteComplete(TopicIdPartition topicIdPartition,
SegmentDeleteComplete metadata,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
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() |
TierObjectMetadata.State |
state()
The current state of the segment.
|
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() |
objectId, objectIdAsBase64
deserialize, deserialize, deserializeKey, deserializeKey, equals, getTypeId, hashCode, messageIdAsBase64, serializeKey, serializeValue, timestamp
public TierSegmentDeleteComplete(TopicIdPartition topicIdPartition, int tierEpoch, UUID objectId, Optional<OffsetAndEpoch> stateOffsetAndEpoch)
public TierSegmentDeleteComplete(TopicIdPartition topicIdPartition, SegmentDeleteComplete metadata, long timestamp)
public TierSegmentDeleteComplete(TopicIdPartition topicIdPartition, int tierEpoch, UUID objectId, OffsetAndEpoch stateOffset, long timestamp)
public static int initialBufferSize()
public TierRecordType type()
type
in class AbstractTierMetadata
public TopicIdPartition topicIdPartition()
AbstractTierMetadata
topicIdPartition
in class AbstractTierMetadata
public int tierEpoch()
AbstractTierMetadata
tierEpoch
in class AbstractTierMetadata
public OffsetAndEpoch stateOffsetAndEpoch()
AbstractTierMetadata
stateOffsetAndEpoch
in class AbstractTierMetadata
public ByteBuffer payloadBuffer()
payloadBuffer
in class AbstractTierMetadata
public TierObjectMetadata.State state()
AbstractTierSegmentMetadata
state
in class AbstractTierSegmentMetadata
public UUID messageId()
AbstractTierMetadata
messageId
in class AbstractTierMetadata