public interface ClusterConfigurationHelper
Modifier and Type | Method and Description |
---|---|
void |
bootstrapCluster()
Checks whether clustering is enabled, and bootstraps the cluster manager with
an appropriate configuration
|
void |
createCluster(String clusterName,
File clusterHome,
InetAddress clusterAddress)
Deprecated.
|
void |
createCluster(String clusterName,
File clusterHome,
InetAddress clusterAddress,
String networkInterfaceName)
Deprecated.
|
void |
createCluster(String clusterName,
File clusterHome,
String networkInterfaceName,
ClusterJoinConfig joinConfig)
Creates a new cluster with the given name, on the specified network interface,
as long as the given cluster does not exist.
|
List<NetworkInterface> |
getClusterableInterfaces()
Return a list of interfaces suitable for clustered communication.
|
com.atlassian.fugue.Option<ClusterJoinConfig> |
getJoinConfig()
Returns the configured join config if setup has progressed that far.
|
com.atlassian.fugue.Option<File> |
getSharedHome()
Return the shared home directory if one has been configured.
|
boolean |
isClusteredInstance() |
void |
joinCluster(String clusterName,
File clusterHome,
InetAddress clusterAddress)
Deprecated.
since 5.9 - cluster joining is not supported this way
|
void |
joinCluster(String clusterName,
File clusterHome,
InetAddress clusterAddress,
String networkInterfaceName)
Deprecated.
since 5.9 - cluster joining is not supported this way
|
void |
joinCluster(String clusterName,
File clusterHome,
String networkInterfaceName,
ClusterJoinConfig joinConfig)
Deprecated.
since 5.9 - cluster joining is not supported this way
|
void |
publishConfiguration()
Deprecated.
since 5.9
|
boolean isClusteredInstance()
@Deprecated void joinCluster(String clusterName, File clusterHome, InetAddress clusterAddress) throws ClusterException
ClusterException
- if an error joining the cluster.@Deprecated void joinCluster(String clusterName, File clusterHome, InetAddress clusterAddress, String networkInterfaceName) throws ClusterException
ClusterException
- if an error joining the cluster.@Deprecated void joinCluster(String clusterName, File clusterHome, String networkInterfaceName, ClusterJoinConfig joinConfig) throws ClusterException
ClusterException
- if an error joining the cluster.@Deprecated void createCluster(String clusterName, File clusterHome, InetAddress clusterAddress) throws ClusterException
createCluster(String, java.io.File, String, com.atlassian.confluence.cluster.ClusterJoinConfig)
ClusterException
- if an error setting up the cluster.@Deprecated void createCluster(String clusterName, File clusterHome, InetAddress clusterAddress, String networkInterfaceName) throws ClusterException
createCluster(String, java.io.File, String, com.atlassian.confluence.cluster.ClusterJoinConfig)
ClusterException
- if an error setting up the cluster.void createCluster(String clusterName, File clusterHome, String networkInterfaceName, ClusterJoinConfig joinConfig) throws ClusterException
ClusterException
- if an error setting up the cluster.LicenseException
- if there is an error while checking the licensevoid bootstrapCluster() throws ClusterException
ClusterException
- if there was an error configuring the cluster manager,
or if the licensed nodes were exceeded by joining the cluster.@Deprecated void publishConfiguration()
List<NetworkInterface> getClusterableInterfaces()
NetworkInterface
objectscom.atlassian.fugue.Option<File> getSharedHome()
com.atlassian.fugue.Option<ClusterJoinConfig> getJoinConfig()
Copyright © 2003–2017 Atlassian. All rights reserved.