|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClusterConfigurationHelper
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,
File clusterHome)
Deprecated. since 5.5.1. See createCluster(String, java.io.File, java.net.InetAddress) instead |
void |
createCluster(String clusterName,
File clusterHome,
InetAddress clusterAddress)
Creates a new cluster with the given name as long as the given cluster does not exist. |
void |
createCluster(String clusterName,
File clusterHome,
InetAddress clusterAddress,
String networkInterfaceName)
Creates a new cluster with the given name, on the specified network interface, as long as the given cluster does not exist. |
void |
createCluster(String clusterName,
File clusterHome,
String networkInterfaceName)
Deprecated. since 5.5.1. See createCluster(String, java.io.File, java.net.InetAddress, String) instead |
List<NetworkInterface> |
getClusterableInterfaces()
Return a list of interfaces suitable for clustered communication. |
int |
getPermittedClusterNodes()
Deprecated. Since 5.6. Use LicenseService.isLicensedForDataCenter()
instead as licensing is now based on clustering capability, not the number of nodes. |
com.atlassian.fugue.Option<File> |
getSharedHome()
Return the shared home directory if one has been configured. |
boolean |
isClusteredInstance()
|
boolean |
isLicensedClusterNodesExceeded()
Deprecated. Since 5.6. Use LicenseService.isLicensedForDataCenter()
instead as licensing is now based on clustering capability, not the number of nodes. |
void |
joinCluster(String clusterName,
File clusterHome)
Deprecated. since 5.5.1. See joinCluster(String, java.io.File, java.net.InetAddress) instead |
void |
joinCluster(String clusterName,
File clusterHome,
InetAddress clusterAddress)
Join the named cluster, as long as it exists and the licensed member count is not exceeded. |
void |
joinCluster(String clusterName,
File clusterHome,
InetAddress clusterAddress,
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 |
joinCluster(String clusterName,
File clusterHome,
String networkInterfaceName)
Deprecated. since 5.5.1. See joinCluster(String, java.io.File, java.net.InetAddress, String) instead |
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 |
---|
boolean isClusteredInstance()
@Deprecated boolean isLicensedClusterNodesExceeded()
LicenseService.isLicensedForDataCenter()
instead as licensing is now based on clustering capability, not the number of nodes.
@Deprecated void joinCluster(String clusterName, File clusterHome) throws ClusterException
joinCluster(String, java.io.File, java.net.InetAddress)
instead
ClusterException
- if an error joining the cluster.void joinCluster(String clusterName, File clusterHome, InetAddress clusterAddress) throws ClusterException
ClusterException
- if an error joining the cluster.@Deprecated void joinCluster(String clusterName, File clusterHome, String networkInterfaceName) throws ClusterException
joinCluster(String, java.io.File, java.net.InetAddress, String)
instead
ClusterException
- if an error joining the cluster.void joinCluster(String clusterName, File clusterHome, InetAddress clusterAddress, String networkInterfaceName) throws ClusterException
ClusterException
- if an error joining the cluster.@Deprecated void createCluster(String clusterName, File clusterHome) throws ClusterException
createCluster(String, java.io.File, java.net.InetAddress)
instead
ClusterException
- if an error setting up the cluster.void createCluster(String clusterName, File clusterHome, InetAddress clusterAddress) throws ClusterException
ClusterException
- if an error setting up the cluster.@Deprecated void createCluster(String clusterName, File clusterHome, String networkInterfaceName) throws ClusterException
createCluster(String, java.io.File, java.net.InetAddress, String)
instead
ClusterException
- if an error setting up the cluster.void createCluster(String clusterName, File clusterHome, InetAddress clusterAddress, String networkInterfaceName) throws ClusterException
ClusterException
- if an error setting up the cluster.@Deprecated int getPermittedClusterNodes()
LicenseService.isLicensedForDataCenter()
instead as licensing is now based on clustering capability, not the number of nodes.
Integer.MAX_VALUE
, otherwise
returns 0.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.void publishConfiguration()
List<NetworkInterface> getClusterableInterfaces()
NetworkInterface
objectscom.atlassian.fugue.Option<File> getSharedHome()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |