public interface Cluster
ClusterSender
used when sending information in the Cluster and
ClusterInfo used for receiving information in the Cluster.| Modifier and Type | Method and Description | 
|---|---|
| void | backgroundProcess()Execute a periodic task, such as reloading, etc. | 
| Manager | createManager(java.lang.String name)Create a new manager which will use this cluster to replicate its
sessions. | 
| java.lang.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 | 
| java.lang.String | getInfo()Return descriptive information about this Cluster implementation and
the corresponding version number, in the format
 <description>/<version>. | 
| java.lang.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(java.lang.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(java.lang.String protocol)Deprecated.   | 
java.lang.String getInfo()
<description>/<version>.java.lang.String getClusterName()
void setClusterName(java.lang.String clusterName)
clusterName - The clustername to joinvoid setContainer(Container container)
container - The Container to useContainer getContainer()
@Deprecated void setProtocol(java.lang.String protocol)
protocol - The protocol used by the cluster@Deprecated java.lang.String getProtocol()
Manager createManager(java.lang.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()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.