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 Summary
Constructors Constructor Description ClusterMetadataDiff(ClusterMetadata oldValue, ClusterMetadata newValue)Deprecated. 
- 
Method Summary
All 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
- 
ClusterMetadataDiff
public ClusterMetadataDiff(ClusterMetadata oldValue, ClusterMetadata newValue)
Deprecated. 
 - 
 
- 
Method Detail
- 
nodesAdded
public Set<ControllerNode> nodesAdded()
Deprecated.Returns the set ofnodesadded with this metadata change.- Returns:
 - set of controller nodes
 
 
- 
nodesRemoved
public Set<NodeId> nodesRemoved()
Deprecated.Returns the set ofnodesremoved with this metadata change.- Returns:
 - set of controller node identifiers
 
 
- 
clusterSecretChanged
public boolean clusterSecretChanged()
Deprecated.Returns whether the cluster-wide shared secret changed.- Returns:
 - whether the cluster secret changed
 
 
- 
partitionDiffs
public Map<PartitionId,PartitionDiff> partitionDiffs()
Deprecated.Returns a mapping of all partition diffs.- Returns:
 - partition diffs.
 
 
 - 
 
 -