|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Member interface, defines a member in the Cluster.
A member is a Tomcat process that participates in session replication.
Each member can carry a set of properties, defined by the actual implementation.
For TCP replication has been targeted for the first release, the hostname and listen port
of the member is defined as hardcoded stuff.
The Member interface together with MembershipListener, MembershipService are interfaces used to
switch out the service used to establish membership in between the cluster nodes.
Method Summary | |
java.lang.String |
getDomain()
Returns the name of the cluster domain from this node |
java.lang.String |
getHost()
Returns the TCP listen host for the TCP implementation |
long |
getMemberAliveTime()
Contains information on how long this member has been online. |
java.util.HashMap |
getMemberProperties()
Return implementation specific properties about this cluster node. |
java.lang.String |
getName()
Returns the name of this node, should be unique within the cluster. |
int |
getPort()
Returns the TCP listen portfor the TCP implementation |
Method Detail |
public java.util.HashMap getMemberProperties()
public java.lang.String getName()
public java.lang.String getDomain()
public java.lang.String getHost()
public int getPort()
public long getMemberAliveTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |