public class PartitionRestoreContext extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PartitionRestoreContext.RestoreState |
static class |
PartitionRestoreContext.RestoreStatus |
Modifier and Type | Field and Description |
---|---|
PartitionConfig |
partitionConfig |
long |
revertCompactionSinceTimestamp |
PartitionRestoreContext.RestoreState |
state |
PartitionRestoreContext.RestoreStatus |
status |
long |
timeStampRestoreFrom |
String |
topic |
String |
topicId |
Constructor and Description |
---|
PartitionRestoreContext(String topic,
String topicId,
PartitionConfig partitionConfig,
long timeStampRestoreFrom,
long revertCompactionSinceTimestamp,
PartitionRestoreContext.RestoreStatus status,
PartitionRestoreContext.RestoreState state) |
Modifier and Type | Method and Description |
---|---|
UUID |
topicId() |
TopicIdPartition |
topicIdPartition() |
public final String topic
public final String topicId
public final PartitionConfig partitionConfig
public final long timeStampRestoreFrom
public long revertCompactionSinceTimestamp
public PartitionRestoreContext.RestoreStatus status
public PartitionRestoreContext.RestoreState state
public PartitionRestoreContext(String topic, String topicId, PartitionConfig partitionConfig, long timeStampRestoreFrom, long revertCompactionSinceTimestamp, PartitionRestoreContext.RestoreStatus status, PartitionRestoreContext.RestoreState state)
public UUID topicId()
public TopicIdPartition topicIdPartition()