|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.net.proxy.RemoteMember
public class RemoteMember
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.
| Constructor Summary | |
|---|---|
RemoteMember(java.net.InetAddress address, int nPort)Construct a RemoteMember. |
|
| Method Summary | |
|---|---|
java.net.InetAddress |
getAddress()Return the IP address of the Member's DatagramSocket for point-to-point communication. |
java.lang.String |
getClusterName()Return the name of the cluster with which this member is associated. |
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 |
getMachineId()Return the Member's machine Id. |
java.lang.String |
getMachineName()Return the configured name for the Machine (such as a host name) in which this Member resides. |
java.lang.String |
getMemberName()Return the configured name for the Member. |
int |
getPort()Return the port of the Member's DatagramSocket for point-to-point communication. |
int |
getPriority()Return the priority (or "weight") of the local Member. |
java.lang.String |
getProcessName()Return the configured name for the Process (such as a JVM) in which this Member resides. |
java.lang.String |
getRackName()Return the configured name for the Rack (such as a physical rack, cage or blade frame) in which this Member resides. |
java.lang.String |
getRoleName()Return the configured role name for the Member. |
java.lang.String |
getSiteName()Return the configured name for the Site (such as a data center) in which this Member resides. |
long |
getTimestamp()Return the date/time value (in cluster time) that the Member joined. |
UID |
getUid()Return the unique identifier of the Member. |
| Constructor Detail |
|---|
public RemoteMember(java.net.InetAddress address,
int nPort)
address - the IP listen address of the remote member ProxyService AcceptornPort - the TCP listen port of the remote member ProxyService Acceptor| Method Detail |
|---|
public java.net.InetAddress getAddress()
getAddress in interface Memberpublic int getPort()
getPort in interface Memberpublic long getTimestamp()
getTimestamp in interface Memberpublic UID getUid()
getUid in interface Memberpublic int getId()
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.
getId in interface Memberpublic java.lang.String getClusterName()
getClusterName in interface MemberIdentitypublic int getMachineId()
getMachineId in interface MemberIdentitypublic java.lang.String getMachineName()
getMachineName in interface MemberIdentitypublic java.lang.String getMemberName()
getMemberName in interface MemberIdentitypublic int getPriority()
getPriority in interface MemberIdentitypublic java.lang.String getProcessName()
getProcessName in interface MemberIdentitypublic java.lang.String getRackName()
getRackName in interface MemberIdentitypublic java.lang.String getRoleName()
getRoleName in interface MemberIdentitypublic java.lang.String getSiteName()
getSiteName in interface MemberIdentity
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||