public class TierSegmentDeleteComplete extends AbstractTierSegmentMetadata
Constructor and Description |
---|
TierSegmentDeleteComplete(TopicIdPartition topicIdPartition,
int tierEpoch,
java.util.UUID objectId) |
TierSegmentDeleteComplete(TopicIdPartition topicIdPartition,
SegmentDeleteComplete metadata) |
Modifier and Type | Method and Description |
---|---|
java.util.UUID |
messageId()
Get a unique id for this message.
|
java.nio.ByteBuffer |
payloadBuffer() |
TierObjectMetadata.State |
state()
The current state of the segment.
|
int |
tierEpoch()
tierEpoch for the tier metadata
|
TopicIdPartition |
topicIdPartition()
Topic-partition corresponding to this tier metadata.
|
java.lang.String |
toString() |
TierRecordType |
type() |
objectId, objectIdAsBase64
deserialize, deserialize, deserializeKey, deserializeKey, equals, getTypeId, hashCode, messageIdAsBase64, serializeKey, serializeValue
public TierSegmentDeleteComplete(TopicIdPartition topicIdPartition, int tierEpoch, java.util.UUID objectId)
public TierSegmentDeleteComplete(TopicIdPartition topicIdPartition, SegmentDeleteComplete metadata)
public TierRecordType type()
type
in class AbstractTierMetadata
public TopicIdPartition topicIdPartition()
AbstractTierMetadata
topicIdPartition
in class AbstractTierMetadata
public int tierEpoch()
AbstractTierMetadata
tierEpoch
in class AbstractTierMetadata
public java.nio.ByteBuffer payloadBuffer()
payloadBuffer
in class AbstractTierMetadata
public TierObjectMetadata.State state()
AbstractTierSegmentMetadata
state
in class AbstractTierSegmentMetadata
public java.util.UUID messageId()
AbstractTierMetadata
messageId
in class AbstractTierMetadata
public java.lang.String toString()
toString
in class java.lang.Object