@InterfaceStability.Evolving public class RemotePartitionDeleteMetadata extends RemoteLogMetadata
RemoteLogMetadataManager.putRemotePartitionDeleteMetadata(RemotePartitionDeleteMetadata).
Possible state transitions are mentioned at RemotePartitionDeleteState.| Constructor and Description |
|---|
RemotePartitionDeleteMetadata(TopicIdPartition topicIdPartition,
RemotePartitionDeleteState state,
long eventTimestampMs,
int brokerId)
Creates an instance of this class with the given metadata.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
RemotePartitionDeleteState |
state()
It represents the state of the remote partition.
|
TopicIdPartition |
topicIdPartition() |
String |
toString() |
brokerId, eventTimestampMspublic RemotePartitionDeleteMetadata(TopicIdPartition topicIdPartition, RemotePartitionDeleteState state, long eventTimestampMs, int brokerId)
topicIdPartition - topic partition for which this event is meant for.state - State of the remote topic partition.eventTimestampMs - Epoch time in milli seconds at which this event is occurred.brokerId - Id of the broker in which this event is raised.public TopicIdPartition topicIdPartition()
topicIdPartition in class RemoteLogMetadatapublic RemotePartitionDeleteState state()
RemotePartitionDeleteState.