@Internal public interface ClusterConfigurationHelperInternal extends ClusterConfigurationHelper
ClusterConfigurationHelper
that should not be visible for plugins.Modifier and Type | Method and Description |
---|---|
void |
createClusterConfig()
Creates and sets up the cluster config file in the shared home if it doesn't already exist.
|
void |
createSharedHome()
Creates shared home directory if it does not exist already.
|
Optional<String> |
getSharedBuildNumber()
Get the build number stored in the confluence.cfg.xml file in the shared home folder
|
Optional<Object> |
getSharedProperty(Object key)
Get the value of a property stored in the confluence.cfg.xml config file (in the shared home folder)
|
void |
populateExistingClusterSetupConfig()
Merges the config file in shared home into the current config file (in local home folder).
|
void |
saveSetupConfigIntoSharedHome()
This method need to be trigger when we finish setup.
|
void |
saveSharedBuildNumber(String sharedBuildNumber)
Store the build number into the confluence.cfg.xml file in the shared home folder
|
void |
saveSharedProperty(Object key,
Object value)
Save a property into the shared confluence.cfg.xml config file (in the shared home folder)
|
bootstrapCluster, createCluster, createCluster, createCluster, getClusterableInterfaces, getJoinConfig, getSharedHome, isClusteredInstance, joinCluster, joinCluster, joinCluster, publishConfiguration
void createSharedHome()
Shared home is created only if not clustering.
void saveSetupConfigIntoSharedHome()
void populateExistingClusterSetupConfig()
void createClusterConfig()
void saveSharedProperty(Object key, Object value)
key
- the key of the propertyvalue
- the value of the propertyOptional<Object> getSharedProperty(Object key)
key
- the key of the propertyvoid saveSharedBuildNumber(String sharedBuildNumber)
sharedBuildNumber
- the shared build number to be savedCopyright © 2003–2018 Atlassian. All rights reserved.