Package com.linkedin.venice.meta
Class PartitionAssignment
java.lang.Object
com.linkedin.venice.meta.PartitionAssignment
This class represent the assignments of one resource including all of assigned partitions and expected number of
partitions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPartition
(Partition partition) boolean
int
int
getPartition
(int partitionId) getTopic()
int
hashCode()
boolean
toString()
-
Constructor Details
-
PartitionAssignment
-
-
Method Details
-
getPartition
-
addPartition
-
getAllPartitions
-
getExpectedNumberOfPartitions
public int getExpectedNumberOfPartitions() -
getAssignedNumberOfPartitions
public int getAssignedNumberOfPartitions() -
isMissingAssignedPartitions
public boolean isMissingAssignedPartitions() -
getTopic
-
toString
-
equals
-
hashCode
public int hashCode()
-