Save This Page
Home » glassfish-v2ur2-b04-src » org.apache » catalina » ha » [javadoc | source]
org.apache.catalina.ha
public interface: CatalinaCluster [javadoc | source]

All Implemented Interfaces:
    Cluster

All Known Implementing Classes:
    SimpleTcpCluster

A CatalinaCluster interface allows to plug in and out the different cluster implementations
Field Summary
public  String info    Descriptive information about this component implementation. 
Method from org.apache.catalina.ha.CatalinaCluster Summary:
addClusterListener,   addValve,   getChannel,   getClusterDeployer,   getLocalMember,   getLogger,   getManager,   getManagerName,   getManagers,   getMembers,   getValves,   hasMembers,   removeClusterListener,   send,   send,   sendClusterDomain,   setChannel,   setClusterDeployer,   start,   stop
Method from org.apache.catalina.ha.CatalinaCluster Detail:
 public  void addClusterListener(ClusterListener listener)
 public  void addValve(Valve valve)
 public Channel getChannel()
 public ClusterDeployer getClusterDeployer()
 public Member getLocalMember()
    Return the member that represents this node.
 public Log getLogger()
    Returns the associates logger with this cluster.
 public Manager getManager(String name)
 public String getManagerName(String name,
    Manager manager)
 public Map getManagers()
 public Member[] getMembers()
    Returns all the members currently participating in the cluster.
 public Valve[] getValves()
 public boolean hasMembers()
    Returns that cluster has members.
 public  void removeClusterListener(ClusterListener listener)
 public  void send(ClusterMessage msg)
    Sends a message to all the members in the cluster
 public  void send(ClusterMessage msg,
    Member dest)
    Sends a message to a specific member in the cluster.
 public  void sendClusterDomain(ClusterMessage msg)
    Sends a message to a all members at local cluster domain
 public  void setChannel(Channel channel)
 public  void setClusterDeployer(ClusterDeployer deployer)
 public  void start() throws Exception
    Start the cluster, the owning container will invoke this
 public  void stop() throws LifecycleException
    Stops the cluster, the owning container will invoke this