@Deprecated public class ClusterMetadataDiff extends Object
metadata
values.Constructor and Description |
---|
ClusterMetadataDiff(ClusterMetadata oldValue,
ClusterMetadata newValue)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
clusterSecretChanged()
Deprecated.
Returns whether the cluster-wide shared secret changed.
|
Set<ControllerNode> |
nodesAdded()
Deprecated.
Returns the set of
nodes added with this metadata change. |
Set<NodeId> |
nodesRemoved()
Deprecated.
Returns the set of
nodes removed with this metadata change. |
Map<PartitionId,PartitionDiff> |
partitionDiffs()
Deprecated.
Returns a mapping of all partition diffs.
|
public ClusterMetadataDiff(ClusterMetadata oldValue, ClusterMetadata newValue)
public Set<ControllerNode> nodesAdded()
nodes
added with this metadata change.public Set<NodeId> nodesRemoved()
nodes
removed with this metadata change.public boolean clusterSecretChanged()
public Map<PartitionId,PartitionDiff> partitionDiffs()