public class ClusterMetadataDiff
extends java.lang.Object
metadata values.| Constructor and Description |
|---|
ClusterMetadataDiff(ClusterMetadata oldValue,
ClusterMetadata newValue) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<ControllerNode> |
nodesAdded()
Returns the set of
nodes added with this metadata change. |
java.util.Set<NodeId> |
nodesRemoved()
Returns the set of
nodes removed with this metadata change. |
java.util.Map<PartitionId,PartitionDiff> |
partitionDiffs()
Returns a mapping of all partition diffs.
|
public ClusterMetadataDiff(ClusterMetadata oldValue, ClusterMetadata newValue)
public java.util.Set<ControllerNode> nodesAdded()
nodes added with this metadata change.public java.util.Set<NodeId> nodesRemoved()
nodes removed with this metadata change.public java.util.Map<PartitionId,PartitionDiff> partitionDiffs()