|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CatalinaCluster
A CatalinaCluster interface allows to plug in and out the different cluster implementations
Field Summary | |
---|---|
static java.lang.String |
info
Descriptive information about this component implementation. |
Method Summary | |
---|---|
void |
addClusterListener(ClusterListener listener)
|
void |
addValve(Valve valve)
|
Channel |
getChannel()
|
ClusterDeployer |
getClusterDeployer()
|
Member |
getLocalMember()
Return the member that represents this node. |
Log |
getLogger()
Returns the associates logger with this cluster. |
Manager |
getManager(java.lang.String name)
|
java.lang.String |
getManagerName(java.lang.String name,
Manager manager)
|
java.util.Map |
getManagers()
|
Member[] |
getMembers()
Returns all the members currently participating in the cluster. |
Valve[] |
getValves()
|
boolean |
hasMembers()
Returns that cluster has members. |
void |
removeClusterListener(ClusterListener listener)
|
void |
send(ClusterMessage msg)
Sends a message to all the members in the cluster |
void |
send(ClusterMessage msg,
Member dest)
Sends a message to a specific member in the cluster. |
void |
sendClusterDomain(ClusterMessage msg)
Sends a message to a all members at local cluster domain |
void |
setChannel(Channel channel)
|
void |
setClusterDeployer(ClusterDeployer deployer)
|
void |
start()
Start the cluster, the owning container will invoke this |
void |
stop()
Stops the cluster, the owning container will invoke this |
Methods inherited from interface org.apache.catalina.Cluster |
---|
backgroundProcess, createManager, getClusterName, getContainer, getInfo, getProtocol, registerManager, removeManager, setClusterName, setContainer, setProtocol |
Field Detail |
---|
static final java.lang.String info
Method Detail |
---|
void start() throws java.lang.Exception
java.lang.Exception
- - if failure to start clustervoid stop() throws LifecycleException
LifecycleException
Log getLogger()
void send(ClusterMessage msg)
msg
- ClusterMessagevoid send(ClusterMessage msg, Member dest)
msg
- ClusterMessagedest
- Membervoid sendClusterDomain(ClusterMessage msg)
msg
- ClusterMessageboolean hasMembers()
Member[] getMembers()
Member getLocalMember()
void addValve(Valve valve)
void addClusterListener(ClusterListener listener)
void removeClusterListener(ClusterListener listener)
void setClusterDeployer(ClusterDeployer deployer)
ClusterDeployer getClusterDeployer()
java.util.Map getManagers()
Manager getManager(java.lang.String name)
java.lang.String getManagerName(java.lang.String name, Manager manager)
Valve[] getValves()
void setChannel(Channel channel)
Channel getChannel()
|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |