ClusterSender
used when sending information in the Cluster and
ClusterInfo used for receiving information in the Cluster.
| Modifier and Type | Method and Description |
|---|---|
| public void | backgroundProcess()
Execute a periodic task, such as reloading, etc. This method will be invoked inside the classloading context of this container. |
| public Manager | Returns: The newly created Manager instanceName (key) of the application with which the manager is
associated name)Create a new manager which will use this cluster to replicate its sessions. |
| public String | Returns: The name of the cluster associated with this serverReturn the name of the cluster that this Server is currently configured to operate within. |
| public void | |
| public void | |
| public void | setClusterName(String
The clustername to join clusterName)Set the name of the cluster to join, if no cluster with this name is present create one. |
| backgroundProcess | back to 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. | |
| createManager | back to summary |
|---|---|
| public Manager createManager(String name) Create a new manager which will use this cluster to replicate its sessions. | |
| getClusterName | back to summary |
|---|---|
| public String getClusterName() Return the name of the cluster that this Server is currently configured to operate within.
| |
| registerManager | back to summary |
|---|---|
| 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 manager is participating in the cluster.
| |
| removeManager | back to summary |
|---|---|
| public void removeManager(Manager manager) Removes a manager from the cluster
| |
| setClusterName | back to summary |
|---|---|
| public void setClusterName(String clusterName) Set the name of the cluster to join, if no cluster with this name is present create one.
| |