Skip navigation links
com.tangosol.net
Interface MemberIdentity
- All Known Subinterfaces:
- Member
-
public interface MemberIdentity
The MemberIdentity interface represents the identity of a cluster member.
- Since:
- Coherence 3.7.1
- Author:
- pfm 2011.05.12
Method Summary |
java.lang.String |
getClusterName()
Return the name of the cluster with which this member is associated. |
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 |
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. |
getClusterName
java.lang.String getClusterName()
- Return the name of the cluster with which this member is associated.
-
- Returns:
- the cluster name
getMachineId
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.
-
- Returns:
- the Member's machine Id
getMachineName
java.lang.String getMachineName()
- Return 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.
-
- Returns:
- the configured Machine name or null
getMemberName
java.lang.String getMemberName()
- Return the configured name for the Member. This name is used for logging purposes and to differentiate among Members running within a particular process.
-
- Returns:
- the configured Member name or null
getPriority
int getPriority()
- Return the priority (or "weight") of the local Member.
-
- Returns:
- the member priority
getProcessName
java.lang.String getProcessName()
- Return 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.
-
- Returns:
- the configured Process name or null
getRackName
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. This name is used for logging purposes and to differentiate among multiple racks within a particular data center, for example.
-
- Returns:
- the configured Rack name or null
getRoleName
java.lang.String getRoleName()
- Return 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.
-
- Returns:
- the configured role name for the Member or null
getSiteName
java.lang.String getSiteName()
- Return 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.
-
- Returns:
- the configured Site name or null
Skip navigation links
Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.