Package com.tangosol.net.proxy
Class RemoteMember
java.lang.Object
com.tangosol.net.proxy.RemoteMember
- All Implemented Interfaces:
- Member,- MemberIdentity
A RemoteMember is a special 
Member implementation that carries
 the remote IP/port information of a member that isn't in the cluster.
 The ProxyService will then skip resolving the address if a RemoteMember
 is returned from the ProxyServiceLoadBalancer.- Since:
- Coherence 12.1.3
- Author:
- wl 2013.03.01
- 
Field SummaryFields inherited from interface com.tangosol.net.MemberIdentityMEMBER_IDENTITY_LIMIT
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturn the IP address of the Member's DatagramSocket for point-to-point communication.Return the name of the cluster with which this member is associated.intgetId()Return a small number that uniquely identifies the Member at this point in time and does not change for the life of this Member.intReturn the Member's machine Id.Return the configured name for the Machine (such as a host name) in which this Member resides.Return the configured name for the Member.intgetPort()Return the port of the Member's DatagramSocket for point-to-point communication.intReturn the priority (or "weight") of the local Member.Return the configured name for the Process (such as a JVM) in which this Member resides.Return the configured name for the Rack (such as a physical rack, cage or blade frame) in which this Member resides.Return the configured role name for the Member.Return the configured name for the Site (such as a data center) in which this Member resides.longReturn the date/time value (in cluster time) that the Member joined.getUid()Return the unique identifier of the Member.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tangosol.net.MembergetUuid, isRemoteClientMethods inherited from interface com.tangosol.net.MemberIdentitygetRoles
- 
Constructor Details- 
RemoteMemberConstruct a RemoteMember.- Parameters:
- address- the IP listen address of the remote member ProxyService Acceptor
- nPort- the TCP listen port of the remote member ProxyService Acceptor
 
 
- 
- 
Method Details- 
getAddressReturn the IP address of the Member's DatagramSocket for point-to-point communication.- Specified by:
- getAddressin interface- Member
- Returns:
- the IP address of the Member's DatagramSocket
 
- 
getPortpublic int getPort()Return the port of the Member's DatagramSocket for point-to-point communication.
- 
getTimestamppublic long getTimestamp()Return the date/time value (in cluster time) that the Member joined.- Specified by:
- getTimestampin interface- Member
- Returns:
- the cluster date/time value that the Member joined
 
- 
getUidReturn the unique identifier of the Member.
- 
getIdpublic 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 Member.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.
- 
getClusterNameReturn the name of the cluster with which this member is associated.- Specified by:
- getClusterNamein interface- MemberIdentity
- Returns:
- the cluster name
 
- 
getMachineIdpublic int getMachineId()Return the Member's machine Id. This identifier should be the same for Members that are on the same physical machine, and ideally different for Members that are on different physical machines.- Specified by:
- getMachineIdin interface- MemberIdentity
- Returns:
- the Member's machine Id
 
- 
getMachineNameReturn the configured name for the Machine (such as a host name) in which this Member resides. This name is used for logging purposes and to differentiate among multiple servers, and may be used as the basis for determining the MachineId property.- Specified by:
- getMachineNamein interface- MemberIdentity
- Returns:
- the configured Machine name or null
 
- 
getMemberNameReturn the configured name for the Member. This name is used for logging purposes and to differentiate among Members running within a particular process.- Specified by:
- getMemberNamein interface- MemberIdentity
- Returns:
- the configured Member name or null
 
- 
getPrioritypublic int getPriority()Return the priority (or "weight") of the local Member.- Specified by:
- getPriorityin interface- MemberIdentity
- Returns:
- the member priority
 
- 
getProcessNameReturn the configured name for the Process (such as a JVM) in which this Member resides. This name is used for logging purposes and to differentiate among multiple processes on a a single machine.- Specified by:
- getProcessNamein interface- MemberIdentity
- Returns:
- the configured Process name or null
 
- 
getRackNameReturn the configured name for the Rack (such as a physical rack, cage or blade frame) in which this Member resides. This name is used for logging purposes and to differentiate among multiple racks within a particular data center, for example.- Specified by:
- getRackNamein interface- MemberIdentity
- Returns:
- the configured Rack name or null
 
- 
getRoleNameReturn the configured role name for the Member. This role is completely definable by the application, and can be used to determine what Members to use for specific purposes.- Specified by:
- getRoleNamein interface- MemberIdentity
- Returns:
- the configured role name for the Member or null
 
- 
getSiteNameReturn the configured name for the Site (such as a data center) in which this Member resides. This name is used for logging purposes and to differentiate among multiple geographic sites.- Specified by:
- getSiteNamein interface- MemberIdentity
- Returns:
- the configured Site name or null
 
 
-