public interface CatalinaCluster extends Cluster
Modifier and Type | Field and Description |
---|---|
static String |
info
Descriptive information about this component implementation.
|
Modifier and Type | Method and Description |
---|---|
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(String name) |
String |
getManagerName(String name,
Manager manager) |
Map<String,ClusterManager> |
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 |
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
|
backgroundProcess, createManager, getClusterName, getContainer, getInfo, getProtocol, registerManager, removeManager, setClusterName, setContainer, setProtocol
static final String info
void start() throws Exception
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
- Memberboolean hasMembers()
Member[] getMembers()
Member getLocalMember()
void addValve(Valve valve)
void addClusterListener(ClusterListener listener)
void removeClusterListener(ClusterListener listener)
void setClusterDeployer(ClusterDeployer deployer)
ClusterDeployer getClusterDeployer()
Map<String,ClusterManager> getManagers()
Valve[] getValves()
void setChannel(Channel channel)
Channel getChannel()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.