Class ClusterMetadataDiff


  • @Deprecated
    public class ClusterMetadataDiff
    extends java.lang.Object
    Deprecated.
    since 1.14
    Utility for examining differences between two metadata values.
    • Method Detail

      • nodesAdded

        public java.util.Set<ControllerNode> nodesAdded()
        Deprecated.
        Returns the set of nodes added with this metadata change.
        Returns:
        set of controller nodes
      • nodesRemoved

        public java.util.Set<NodeId> nodesRemoved()
        Deprecated.
        Returns the set of nodes removed 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 java.util.Map<PartitionId,​PartitionDiff> partitionDiffs()
        Deprecated.
        Returns a mapping of all partition diffs.
        Returns:
        partition diffs.