Class ClusterIdAndTag

  • All Implemented Interfaces:
    Serializable

    public class ClusterIdAndTag
    extends Object
    implements Serializable
    Container class to send cluster ID and tag in disco data and to write them atomically to metastorage.
    See Also:
    Serialized Form
    • Constructor Detail

      • ClusterIdAndTag

        public ClusterIdAndTag​(UUID id,
                               String tag)
        Parameters:
        id - Cluster ID.
        tag - Cluster tag.
    • Method Detail

      • id

        public UUID id()
        Returns:
        Value of cluster id.
      • tag

        public String tag()
        Returns:
        Value of cluster tag.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object