public class TierPartitionForceRestore extends AbstractTierMetadata
| Constructor and Description |
|---|
TierPartitionForceRestore(TopicIdPartition topicIdPartition,
PartitionForceRestore metadata) |
TierPartitionForceRestore(TopicIdPartition topicIdPartition,
UUID messageId,
long startOffset,
long endOffset,
OffsetAndEpoch stateOffsetAndEpoch,
String contentHash,
Boolean restoreLogStartOffset) |
| Modifier and Type | Method and Description |
|---|---|
String |
contentHash() |
long |
endOffset() |
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() |
boolean |
restoreLogStartOffset() |
long |
startOffset() |
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() |
byte |
version() |
deserialize, deserialize, deserializeKey, deserializeKey, equals, getTypeId, hashCode, messageIdAsBase64, serializeKey, serializeValuepublic TierPartitionForceRestore(TopicIdPartition topicIdPartition, UUID messageId, long startOffset, long endOffset, OffsetAndEpoch stateOffsetAndEpoch, String contentHash, Boolean restoreLogStartOffset)
public TierPartitionForceRestore(TopicIdPartition topicIdPartition, PartitionForceRestore metadata)
public static int initialBufferSize()
public long startOffset()
public long endOffset()
public String contentHash()
public byte version()
public boolean restoreLogStartOffset()
public TierRecordType type()
type in class AbstractTierMetadatapublic TopicIdPartition topicIdPartition()
AbstractTierMetadatatopicIdPartition in class AbstractTierMetadatapublic ByteBuffer payloadBuffer()
payloadBuffer in class AbstractTierMetadatapublic int tierEpoch()
AbstractTierMetadatatierEpoch in class AbstractTierMetadatapublic OffsetAndEpoch stateOffsetAndEpoch()
AbstractTierMetadatastateOffsetAndEpoch in class AbstractTierMetadatapublic UUID messageId()
AbstractTierMetadatamessageId in class AbstractTierMetadata