Package com.tangosol.net
Interface Member
- All Superinterfaces:
MemberIdentity
- All Known Implementing Classes:
RemoteMember
The Member interface represents a cluster member.
- Since:
- Coherence 1.1
- Author:
- gg 2002.02.08
-
Field Summary
Fields inherited from interface com.tangosol.net.MemberIdentity
MEMBER_IDENTITY_LIMIT
-
Method Summary
Modifier and TypeMethodDescriptionReturn the IP address of the Member's DatagramSocket for point-to-point communication.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.int
getPort()
Return the port of the Member's DatagramSocket for point-to-point communication.long
Return the date/time value (in cluster time) that the Member joined.getUid()
Return the unique identifier of the Member.default UUID
getUuid()
Return the universal unique id of the Member.default boolean
Check whether or not thisMember
represents a remote client.Methods inherited from interface com.tangosol.net.MemberIdentity
getClusterName, getMachineId, getMachineName, getMemberName, getPriority, getProcessName, getRackName, getRoleName, getRoles, getSiteName
-
Method Details
-
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
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 thisMember
represents a remote client.- Returns:
true
if thisMember
is a remote client;false
otherwise- Since:
- 22.06
-