public class ClusterConfigSection extends ConfigSection
| Modifier and Type | Field and Description |
|---|---|
static String |
SectionName |
| Constructor and Description |
|---|
ClusterConfigSection(ServerConfiguration config)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
closeConfig()
Close the configuration section, perform any cleanup
|
String |
getConfigFile()
Return the Hazelcast config file path
|
com.hazelcast.core.HazelcastInstance |
getHazelcastInstance()
Return the Hazelcast instance, or create it
|
boolean |
isExternalHazlecast()
Check if the Hazelcast instance being used is from an external source
|
void |
setConfigFile(String path)
Set the Hazelcast configuration file path
|
void |
setHazelcastInstance(com.hazelcast.core.HazelcastInstance hazelcast)
Set an external Hazelcast instance to be used
|
fireConfigurationChange, getSectionName, getServerConfiguration, isUpdated, setUpdatedpublic static final String SectionName
public ClusterConfigSection(ServerConfiguration config)
config - ServerConfigurationpublic String getConfigFile()
public void setConfigFile(String path)
path - Stringpublic com.hazelcast.core.HazelcastInstance getHazelcastInstance()
throws FileNotFoundException
FileNotFoundExceptionpublic final boolean isExternalHazlecast()
public final void setHazelcastInstance(com.hazelcast.core.HazelcastInstance hazelcast)
hazelcast - HazelcastInstancepublic void closeConfig()
closeConfig in class ConfigSectionCopyright © 2005–2020 Alfresco Software. All rights reserved.