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()
Deprecated.
since 7.0.1. Use
joinConfig() |
com.atlassian.fugue.Option<File> |
getSharedHome()
Deprecated.
since 7.0.1. Use
sharedHome() |
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
|
default Optional<ClusterJoinConfig> |
joinConfig()
Returns the configured join config if setup has progressed that far.
|
void |
publishConfiguration()
Deprecated.
since 5.9
|
default Optional<File> |
sharedHome()
Return the shared home directory if one has been configured.
|
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
objects@Deprecated com.atlassian.fugue.Option<File> getSharedHome()
sharedHome()
default Optional<File> sharedHome()
@Deprecated com.atlassian.fugue.Option<ClusterJoinConfig> getJoinConfig()
joinConfig()
default Optional<ClusterJoinConfig> joinConfig()
Copyright © 2003–2019 Atlassian. All rights reserved.