Methods Summary |
---|
public void | backgroundProcess()Execute a periodic task, such as reloading, etc. This method will be
invoked inside the classloading context of this container. Unexpected
throwables will be caught and logged.
|
public Manager | createManager(java.lang.String name)Create a new manager which will use this cluster to replicate its
sessions.
|
public java.lang.String | getClusterName()Return the name of the cluster that this Server is currently
configured to operate within.
|
public Container | getContainer()Get the Container associated with our Cluster
|
public java.lang.String | getInfo()Return descriptive information about this Cluster implementation and
the corresponding version number, in the format
<description>/<version> .
|
public java.lang.String | getProtocol()Get the protocol used by the cluster.
|
public void | registerManager(Manager manager)Register a manager with the cluster. If the cluster is not responsible
for creating a manager, then the container will at least notify the
cluster that this mananger is participating in the cluster.
|
public void | removeManager(Manager manager)Removes a manager from the cluster
|
public void | setClusterName(java.lang.String clusterName)Set the name of the cluster to join, if no cluster with
this name is present create one.
|
public void | setContainer(Container container)Set the Container associated with our Cluster
|
public void | setProtocol(java.lang.String protocol)Set the protocol parameters.
|