| Constructor and Description | 
|---|
PartitionDiff(Partition oldValue,
             Partition newValue)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object other)  | 
boolean | 
hasChanged()
Returns if there are differences between the two values. 
 | 
int | 
hashCode()  | 
boolean | 
isAdded(NodeId nodeId)
Returns if the specified node is introduced in the new value. 
 | 
boolean | 
isRemoved(NodeId nodeId)
Returns if the specified node is removed in the new value. 
 | 
Partition | 
newValue()
Returns the new partition value. 
 | 
Partition | 
oldValue()
Returns the old partition value. 
 | 
PartitionId | 
partitionId()
Returns the new partition identifier. 
 | 
String | 
toString()  | 
public PartitionId partitionId()
public Partition oldValue()
public Partition newValue()
public boolean hasChanged()
true if yes; false otherwisepublic boolean isAdded(NodeId nodeId)
nodeId - node identifiertrue if yes; false otherwisepublic boolean isRemoved(NodeId nodeId)
nodeId - node identifiertrue if yes; false otherwise