Class Member


  • public final class Member
    extends java.lang.Object
    Controller member identity.
    • Constructor Summary

      Constructors 
      Constructor Description
      Member​(NodeId nodeId, Version version)
      Creates a new cluster member identifier from the specified string.
    • Constructor Detail

      • Member

        public Member​(NodeId nodeId,
                      Version version)
        Creates a new cluster member identifier from the specified string.
        Parameters:
        nodeId - node identifier
        version - node version
    • Method Detail

      • nodeId

        public NodeId nodeId()
        Returns the node identifier.
        Returns:
        the node identifier
      • version

        public Version version()
        Returns the node version.
        Returns:
        the node version
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object