org.apache.catalina
public interface Cluster
ClusterSender
used when sending information in the Cluster and
ClusterInfo
used for receiving information in the Cluster.
Version: $Revision: 500684 $, $Date: 2007-01-28 00:27:18 +0100 (Sun, 28 Jan 2007) $
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()
Get the protocol used by the cluster.
|
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)
Set the protocol parameters.
|
Parameters: name Name (key) of the application with which the manager is associated
Returns: The name of the cluster associated with this server
Returns: The Container associated with our Cluster
<description>/<version>
.Deprecated:
Get the protocol used by the cluster.Returns: The protocol
Parameters: manager Manager
Parameters: manager Manager
Parameters: clusterName The clustername to join
Parameters: container The Container to use
Deprecated:
Set the protocol parameters.Parameters: protocol The protocol used by the cluster