Package com.linkedin.venice.pubsub
Class PubSubTopicPartitionInfo
- java.lang.Object
-
- com.linkedin.venice.pubsub.PubSubTopicPartitionInfo
-
public class PubSubTopicPartitionInfo extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PubSubTopicPartitionInfo(PubSubTopic pubSubTopic, int partition, java.lang.Boolean hasInSyncReplica)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PubSubTopicPartition
getTopicPartition()
java.lang.Boolean
hasInSyncReplicas()
int
partition()
The partition idPubSubTopic
topic()
java.lang.String
toString()
-
-
-
Constructor Detail
-
PubSubTopicPartitionInfo
public PubSubTopicPartitionInfo(PubSubTopic pubSubTopic, int partition, java.lang.Boolean hasInSyncReplica)
-
-
Method Detail
-
topic
public PubSubTopic topic()
-
partition
public int partition()
The partition id
-
hasInSyncReplicas
public java.lang.Boolean hasInSyncReplicas()
-
getTopicPartition
public PubSubTopicPartition getTopicPartition()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-