Package org.onosproject.cluster
Class ClusterMetadataDiff
- java.lang.Object
- 
- org.onosproject.cluster.ClusterMetadataDiff
 
- 
 @Deprecated public class ClusterMetadataDiff extends Object Deprecated.since 1.14Utility for examining differences between twometadatavalues.
- 
- 
Constructor SummaryConstructors Constructor Description ClusterMetadataDiff(ClusterMetadata oldValue, ClusterMetadata newValue)Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanclusterSecretChanged()Deprecated.Returns whether the cluster-wide shared secret changed.Set<ControllerNode>nodesAdded()Deprecated.Returns the set ofnodesadded with this metadata change.Set<NodeId>nodesRemoved()Deprecated.Returns the set ofnodesremoved with this metadata change.Map<PartitionId,PartitionDiff>partitionDiffs()Deprecated.Returns a mapping of all partition diffs.
 
- 
- 
- 
Constructor Detail- 
ClusterMetadataDiffpublic ClusterMetadataDiff(ClusterMetadata oldValue, ClusterMetadata newValue) Deprecated.
 
- 
 - 
Method Detail- 
nodesAddedpublic Set<ControllerNode> nodesAdded() Deprecated.Returns the set ofnodesadded with this metadata change.- Returns:
- set of controller nodes
 
 - 
nodesRemovedpublic Set<NodeId> nodesRemoved() Deprecated.Returns the set ofnodesremoved with this metadata change.- Returns:
- set of controller node identifiers
 
 - 
clusterSecretChangedpublic boolean clusterSecretChanged() Deprecated.Returns whether the cluster-wide shared secret changed.- Returns:
- whether the cluster secret changed
 
 - 
partitionDiffspublic Map<PartitionId,PartitionDiff> partitionDiffs() Deprecated.Returns a mapping of all partition diffs.- Returns:
- partition diffs.
 
 
- 
 
-