|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Cluster
A Cluster works as a Cluster client/server for the local host
Different Cluster implementations can be used to support different
ways to communicate within the Cluster. A Cluster implementation is
responsible for setting up a way to communicate within the Cluster
and also supply "ClientApplications" with ClusterSender
used when sending information in the Cluster and
ClusterInfo
used for receiving information in the Cluster.
Method Summary | |
---|---|
void |
backgroundProcess()
Execute a periodic task, such as reloading, etc. |
Manager |
createManager(String name)
Create a new manager which will use this cluster to replicate its sessions. |
String |
getClusterName()
Return the name of the cluster that this Server is currently configured to operate within. |
Container |
getContainer()
Get the Container associated with our Cluster |
String |
getInfo()
Return descriptive information about this Cluster implementation and the corresponding version number, in the format <description>/<version> . |
String |
getProtocol()
Deprecated. |
void |
registerManager(Manager manager)
Register a manager with the cluster. |
void |
removeManager(Manager manager)
Removes a manager from the cluster |
void |
setClusterName(String clusterName)
Set the name of the cluster to join, if no cluster with this name is present create one. |
void |
setContainer(Container container)
Set the Container associated with our Cluster |
void |
setProtocol(String protocol)
Deprecated. |
Method Detail |
---|
String getInfo()
<description>/<version>
.
String getClusterName()
void setClusterName(String clusterName)
clusterName
- The clustername to joinvoid setContainer(Container container)
container
- The Container to useContainer getContainer()
@Deprecated void setProtocol(String protocol)
protocol
- The protocol used by the cluster@Deprecated String getProtocol()
Manager createManager(String name)
name
- Name (key) of the application with which the manager is
associatedvoid registerManager(Manager manager)
manager
- Managervoid removeManager(Manager manager)
manager
- Managervoid backgroundProcess()
|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |