| org.apache.catalina.cluster.Member
All known Subclasses: org.apache.catalina.cluster.mcast.McastMember,
Member | public interface Member (Code) | | 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.
author: Filip Hanik version: $Revision: 1.5 $, $Date: 2004/05/26 16:31:23 $ |
getHost | public String getHost()(Code) | | Returns the TCP listen host for the TCP implementation
|
getMemberAliveTime | public long getMemberAliveTime()(Code) | | Contains information on how long this member has been online.
The result is the number of milli seconds this member has been
broadcasting its membership to the cluster.
nr of milliseconds since this member started. |
getMemberProperties | public java.util.HashMap getMemberProperties()(Code) | | Return implementation specific properties about this cluster node.
|
getName | public String getName()(Code) | | Returns the name of this node, should be unique within the cluster.
|
getPort | public int getPort()(Code) | | Returns the TCP listen portfor the TCP implementation
|
|
|