public interface CatalinaCluster extends Cluster
Modifier and Type | Method and Description |
---|---|
void |
addClusterListener(ClusterListener listener) |
void |
addValve(Valve valve) |
Channel |
getChannel() |
ClusterDeployer |
getClusterDeployer() |
Member |
getLocalMember() |
Manager |
getManager(String name)
Get Manager
|
String |
getManagerName(String name,
Manager manager)
Get a new cluster name for a manager.
|
Map<String,ClusterManager> |
getManagers() |
Member[] |
getMembers() |
Valve[] |
getValves() |
boolean |
hasMembers() |
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) |
backgroundProcess, createManager, getClusterName, getContainer, registerManager, removeManager, setClusterName, setContainer
void send(ClusterMessage msg)
msg
- ClusterMessagevoid send(ClusterMessage msg, Member dest)
msg
- ClusterMessagedest
- Memberboolean hasMembers()
true
if the cluster has members.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()
Manager getManager(String name)
name
- The manager nameString getManagerName(String name, Manager manager)
name
- Override name (optional)manager
- The managerValve[] getValves()
void setChannel(Channel channel)
Channel getChannel()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.