| org.apache.catalina.ha.CatalinaCluster
All known Subclasses: org.apache.catalina.ha.tcp.SimpleTcpCluster,
CatalinaCluster | public interface CatalinaCluster extends Cluster(Code) | | A CatalinaCluster interface allows to plug in and out the
different cluster implementations
author: Filip Hanik version: $Revision: 467222 $, $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $ |
Field Summary | |
public String | info Descriptive information about this component implementation. |
info | public String info(Code) | | Descriptive information about this component implementation.
|
getLocalMember | public Member getLocalMember()(Code) | | Return the member that represents this node.
Member |
getLogger | public Log getLogger()(Code) | | Returns the associates logger with this cluster.
Log |
getManagers | public Map getManagers()(Code) | | The map of managers |
getMembers | public Member[] getMembers()(Code) | | Returns all the members currently participating in the cluster.
Member[] |
hasMembers | public boolean hasMembers()(Code) | | Returns that cluster has members.
|
send | public void send(ClusterMessage msg)(Code) | | Sends a message to all the members in the cluster
Parameters: msg - ClusterMessage |
send | public void send(ClusterMessage msg, Member dest)(Code) | | Sends a message to a specific member in the cluster.
Parameters: msg - ClusterMessage Parameters: dest - Member |
sendClusterDomain | public void sendClusterDomain(ClusterMessage msg)(Code) | | Sends a message to a all members at local cluster domain
Parameters: msg - ClusterMessage |
start | public void start() throws Exception(Code) | | Start the cluster, the owning container will invoke this
throws: Exception - - if failure to start cluster |
|
|