public interface ClusterNodeProperties
Modifier and Type | Method and Description |
---|---|
String |
getNodeId()
Get the node id for a clustered or HA installation.
|
String |
getProperty(String key) |
Optional<String> |
getPropertySafely(String key) |
String |
getSharedHome()
Get the shared home for a clustered or HA installation.
|
boolean |
isValid()
whether the underlying cluster.properties file is valid or not
|
boolean |
propertyFileExists()
The cluster.properties file is optional.
|
void |
refresh()
Called to reload the cluster properties.
|
@Nullable String getProperty(String key)
key
- key for the property you want to look upOptional<String> getPropertySafely(String key)
key
- key for the property you want to look upString getSharedHome()
String getNodeId()
void refresh()
boolean propertyFileExists()
boolean isValid()
Copyright © 2002-2022 Atlassian. All Rights Reserved.