|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A facade for interacting with the clustering subsystem
Method Summary | |
void |
bootstrapCluster()
Checks whether clustering is enabled, and bootstraps the cluster manager with an appropriate configuration |
void |
createCluster(String clusterName)
Creates a new cluster with the given name as long as the given cluster does not exist. |
void |
createCluster(String clusterName,
String networkInterfaceName)
Creates a new cluster with the given name, on the specified network interface, as long as the given cluster does not exist. |
List |
getClusterableInterfaces()
Return a list of interfaces suitable for clustered communication. |
int |
getPermittedClusterNodes()
|
boolean |
isClusteredInstance()
|
boolean |
isLicensedClusterNodesExceeded()
|
void |
joinCluster(String clusterName)
Join the named cluster, as long as it exists and the licensed member count is not exceeded. |
void |
joinCluster(String clusterName,
String networkInterfaceName)
Join the named cluster, on the specified network interface, as long as it exists and the licensed member count is not exceeded. |
void |
publishConfiguration()
Publish the configuration of this instance to the shared cluster cache, where it can be loaded by subsequent nodes during setup. |
Method Detail |
public boolean isClusteredInstance()
public boolean isLicensedClusterNodesExceeded()
public void joinCluster(String clusterName) throws ClusterException
ClusterException
- if an error joining the cluster.public void joinCluster(String clusterName, String networkInterfaceName) throws ClusterException
ClusterException
- if an error joining the cluster.public void createCluster(String clusterName) throws ClusterException
ClusterException
- if an error setting up the cluster.public void createCluster(String clusterName, String networkInterfaceName) throws ClusterException
ClusterException
- if an error setting up the cluster.public int getPermittedClusterNodes()
public void bootstrapCluster() throws ClusterException
ClusterException
- if there was an error configuring the cluster manager,
or if the licensed nodes were exceeded by joining the cluster.public void publishConfiguration()
public List getClusterableInterfaces()
NetworkInterface
objects
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |