Interface Member

  • All Superinterfaces:
    MemberIdentity
    All Known Implementing Classes:
    RemoteMember

    public interface Member
    extends MemberIdentity
    The Member interface represents a cluster member.
    Since:
    Coherence 1.1
    Author:
    gg 2002.02.08
    • Method Detail

      • getAddress

        InetAddress getAddress()
        Return the IP address of the Member's DatagramSocket for point-to-point communication.
        Returns:
        the IP address of the Member's DatagramSocket
      • getPort

        int getPort()
        Return the port of the Member's DatagramSocket for point-to-point communication.
        Returns:
        the port of the Member's DatagramSocket
      • getTimestamp

        long getTimestamp()
        Return the date/time value (in cluster time) that the Member joined.
        Returns:
        the cluster date/time value that the Member joined
      • getUid

        UID getUid()
        Return the unique identifier of the Member.
        Returns:
        the unique identifier of the Member
      • getId

        int getId()
        Return a small number that uniquely identifies the Member at this point in time and does not change for the life of this Member.

        This value sometimes referred to as a "mini-id" in comparison to the "Uid" returned by getUid(). It does not uniquely identify the Member throughout the duration of the cluster because Members that existed but left the cluster before this Member existed may have had the same mini-id value and the same goes for Members that may join the cluster after this Member leaves the cluster.

        Returns:
        the mini-id of the Member
        Since:
        Coherence 1.2
      • getUuid

        default UUID getUuid()
        Return the universal unique id of the Member.
        Returns:
        the universal unique id of the Member
        Since:
        22.06
      • isRemoteClient

        default boolean isRemoteClient()
        Check whether or not this Member represents a remote client.
        Returns:
        true if this Member is a remote client; false otherwise
        Since:
        22.06