public class DynamicConfigurationAwareConfig extends Config
Constructor and Description |
---|
DynamicConfigurationAwareConfig(Config staticConfig,
HazelcastProperties properties) |
Modifier and Type | Method and Description |
---|---|
Config |
addAtomicLongConfig(AtomicLongConfig atomicLongConfig)
Adds the AtomicLong configuration.
|
Config |
addAtomicReferenceConfig(AtomicReferenceConfig atomicReferenceConfig)
Adds the AtomicReference configuration.
|
Config |
addCacheConfig(CacheSimpleConfig cacheConfig)
Adds the cache configuration.
|
Config |
addCardinalityEstimatorConfig(CardinalityEstimatorConfig cardinalityEstimatorConfig)
Adds the cardinality estimator configuration.
|
Config |
addCountDownLatchConfig(CountDownLatchConfig countDownLatchConfig)
Adds the CountDownLatch configuration.
|
Config |
addDurableExecutorConfig(DurableExecutorConfig durableExecutorConfig)
Adds the durable executor configuration.
|
Config |
addEventJournalConfig(EventJournalConfig eventJournalConfig)
Adds the event journal configuration.
|
Config |
addExecutorConfig(ExecutorConfig executorConfig)
Adds the executor configuration.
|
Config |
addFlakeIdGeneratorConfig(FlakeIdGeneratorConfig config)
Adds a flake ID generator configuration.
|
Config |
addJobTrackerConfig(JobTrackerConfig jobTrackerConfig)
Adds the
JobTracker configuration. |
Config |
addListConfig(ListConfig listConfig)
Adds the list configuration.
|
Config |
addListenerConfig(ListenerConfig listenerConfig)
Adds a configuration for an
EventListener . |
Config |
addLockConfig(LockConfig lockConfig)
Adds the lock configuration.
|
Config |
addMapConfig(MapConfig mapConfig)
Adds the map configuration.
|
Config |
addMerkleTreeConfig(MerkleTreeConfig merkleTreeConfig)
Adds the merkle tree configuration.
|
Config |
addMultiMapConfig(MultiMapConfig multiMapConfig)
Adds the multimap configuration.
|
Config |
addPNCounterConfig(PNCounterConfig pnCounterConfig)
Adds the PN counter configuration.
|
Config |
addQueueConfig(QueueConfig queueConfig)
Adds the queue configuration.
|
Config |
addQuorumConfig(QuorumConfig quorumConfig)
Adds the split-brain protection configuration.
|
Config |
addReliableTopicConfig(ReliableTopicConfig reliableTopicConfig)
Adds the reliable topic configuration.
|
Config |
addReplicatedMapConfig(ReplicatedMapConfig replicatedMapConfig)
Adds the replicated map configuration.
|
Config |
addRingBufferConfig(RingbufferConfig ringbufferConfig)
Adds the ringbuffer configuration.
|
Config |
addScheduledExecutorConfig(ScheduledExecutorConfig scheduledExecutorConfig)
Adds the scheduled executor configuration.
|
Config |
addSemaphoreConfig(SemaphoreConfig semaphoreConfig)
Adds the
ISemaphore configuration. |
Config |
addSetConfig(SetConfig setConfig)
Adds the set configuration.
|
Config |
addTopicConfig(TopicConfig topicConfig)
Adds the topic configuration.
|
Config |
addWanReplicationConfig(WanReplicationConfig wanReplicationConfig)
Adds the WAN replication config under the name defined by
WanReplicationConfig.getName() . |
<T> boolean |
checkStaticConfigDoesNotExist(Map<String,T> staticConfigurations,
String configName,
T newConfig) |
AtomicLongConfig |
findAtomicLongConfig(String name)
Returns a read-only AtomicLong configuration for the given name.
|
AtomicReferenceConfig |
findAtomicReferenceConfig(String name)
Returns a read-only AtomicReference configuration for the given name.
|
CacheSimpleConfig |
findCacheConfig(String name)
Returns a read-only
CacheSimpleConfig configuration for the given name. |
CacheSimpleConfig |
findCacheConfigOrNull(String name)
Returns the cache config with the given name or
null if there is none. |
EventJournalConfig |
findCacheEventJournalConfig(String name)
Returns a read-only cache
EventJournal
configuration for the given name. |
CardinalityEstimatorConfig |
findCardinalityEstimatorConfig(String name)
Returns a read-only
CardinalityEstimator
configuration for the given name. |
CountDownLatchConfig |
findCountDownLatchConfig(String name)
Returns a read-only CountDownLatch configuration for the given name.
|
DurableExecutorConfig |
findDurableExecutorConfig(String name)
Returns a read-only durable executor configuration for the given name.
|
ExecutorConfig |
findExecutorConfig(String name)
Returns a read-only executor configuration for the given name.
|
FlakeIdGeneratorConfig |
findFlakeIdGeneratorConfig(String name)
Returns a
FlakeIdGeneratorConfig configuration for the given flake ID generator name. |
JobTrackerConfig |
findJobTrackerConfig(String name)
Returns a read-only
JobTracker
configuration for the given name. |
ListConfig |
findListConfig(String name)
Returns a read-only
IList configuration for
the given name. |
LockConfig |
findLockConfig(String name)
Returns a read-only
ILock configuration for
the given name. |
MapConfig |
findMapConfig(String name)
Returns a read-only
IMap configuration for
the given name. |
EventJournalConfig |
findMapEventJournalConfig(String name)
Returns a read-only map
EventJournal
configuration for the given name. |
MerkleTreeConfig |
findMapMerkleTreeConfig(String name)
Returns a read-only map
MerkleTreeConfig for the given name. |
MultiMapConfig |
findMultiMapConfig(String name)
Returns a read-only
MultiMap configuration for
the given name. |
PNCounterConfig |
findPNCounterConfig(String name)
Returns a read-only
PNCounterConfig
configuration for the given name. |
QueueConfig |
findQueueConfig(String name)
Returns a read-only
IQueue configuration for
the given name. |
QuorumConfig |
findQuorumConfig(String name)
Returns a read-only split-brain protection configuration for the given
name.
|
ReliableTopicConfig |
findReliableTopicConfig(String name)
Returns a read-only reliable topic configuration for the given name.
|
ReplicatedMapConfig |
findReplicatedMapConfig(String name)
Returns a read-only
ReplicatedMap configuration for
the given name. |
RingbufferConfig |
findRingbufferConfig(String name)
Returns a read-only
Ringbuffer
configuration for the given name. |
ScheduledExecutorConfig |
findScheduledExecutorConfig(String name)
Returns a read-only scheduled executor configuration for the given name.
|
SemaphoreConfig |
findSemaphoreConfig(String name)
Returns a read-only
ISemaphore
configuration for the given name. |
SetConfig |
findSetConfig(String name)
Returns a read-only
ISet configuration for
the given name. |
TopicConfig |
findTopicConfig(String name)
Returns a read-only
ITopic
configuration for the given name. |
AdvancedNetworkConfig |
getAdvancedNetworkConfig() |
AtomicLongConfig |
getAtomicLongConfig(String name)
Returns the AtomicLongConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
Map<String,AtomicLongConfig> |
getAtomicLongConfigs()
Returns the map of AtomicLong configurations, mapped by config name.
|
AtomicReferenceConfig |
getAtomicReferenceConfig(String name)
Returns the AtomicReferenceConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
Map<String,AtomicReferenceConfig> |
getAtomicReferenceConfigs()
Returns the map of AtomicReference configurations, mapped by config name.
|
CacheSimpleConfig |
getCacheConfig(String name)
Returns the CacheSimpleConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
Map<String,CacheSimpleConfig> |
getCacheConfigs()
Returns the map of cache configurations, mapped by config name.
|
EventJournalConfig |
getCacheEventJournalConfig(String name)
Returns the cache event journal config for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
Map<String,EventJournalConfig> |
getCacheEventJournalConfigs()
Returns the map of cache event journal configurations, mapped by config
name.
|
CardinalityEstimatorConfig |
getCardinalityEstimatorConfig(String name)
Returns the CardinalityEstimatorConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
Map<String,CardinalityEstimatorConfig> |
getCardinalityEstimatorConfigs()
Returns the map of cardinality estimator configurations, mapped by config
name.
|
ClassLoader |
getClassLoader()
Returns the class-loader that will be used in serialization.
|
ConfigPatternMatcher |
getConfigPatternMatcher()
Returns the pattern matcher which is used to match item names to
configuration objects.
|
File |
getConfigurationFile()
|
URL |
getConfigurationUrl()
|
CountDownLatchConfig |
getCountDownLatchConfig(String name)
Returns the CountDownLatchConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
Map<String,CountDownLatchConfig> |
getCountDownLatchConfigs()
Returns the map of CountDownLatch configurations, mapped by config name.
|
CPSubsystemConfig |
getCPSubsystemConfig()
Get current configuration for the CP subsystem
|
CRDTReplicationConfig |
getCRDTReplicationConfig() |
DurableExecutorConfig |
getDurableExecutorConfig(String name)
Returns the DurableExecutorConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
Map<String,DurableExecutorConfig> |
getDurableExecutorConfigs()
Returns the map of durable executor configurations, mapped by config
name.
|
ExecutorConfig |
getExecutorConfig(String name)
Returns the ExecutorConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
Map<String,ExecutorConfig> |
getExecutorConfigs()
Returns the map of executor configurations, mapped by config name.
|
FlakeIdGeneratorConfig |
getFlakeIdGeneratorConfig(String name)
Returns the
FlakeIdGeneratorConfig for the given name, creating
one if necessary and adding it to the collection of known configurations. |
Map<String,FlakeIdGeneratorConfig> |
getFlakeIdGeneratorConfigs()
Returns the map of
FlakeIdGenerator configurations,
mapped by config name. |
GroupConfig |
getGroupConfig()
Returns the configuration for hazelcast groups.
|
HotRestartPersistenceConfig |
getHotRestartPersistenceConfig()
Returns the Hot Restart configuration for this hazelcast instance
|
String |
getInstanceName()
Returns the instance name uniquely identifying the hazelcast instance
created by this configuration.
|
JobTrackerConfig |
getJobTrackerConfig(String name)
Returns the JobTrackerConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
Map<String,JobTrackerConfig> |
getJobTrackerConfigs()
Returns the map of
JobTracker
configurations, mapped by config name. |
String |
getLicenseKey()
Returns the license key for this hazelcast instance.
|
ListConfig |
getListConfig(String name)
Returns the ListConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
Map<String,ListConfig> |
getListConfigs()
Returns the map of
IList configurations,
mapped by config name. |
List<ListenerConfig> |
getListenerConfigs()
Returns the list of
EventListener configurations. |
LockConfig |
getLockConfig(String name)
Returns the LockConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
Map<String,LockConfig> |
getLockConfigs()
Returns the map of
ILock configurations,
mapped by config name. |
ManagedContext |
getManagedContext()
Returns the external managed context.
|
ManagementCenterConfig |
getManagementCenterConfig()
Returns the management center configuration for this hazelcast instance.
|
MapConfig |
getMapConfig(String name)
Returns the MapConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
MapConfig |
getMapConfigOrNull(String name)
Returns the map config with the given name or
null if there is none. |
Map<String,MapConfig> |
getMapConfigs()
Returns the map of
IMap configurations,
mapped by config name. |
EventJournalConfig |
getMapEventJournalConfig(String name)
Returns the map event journal config for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
Map<String,EventJournalConfig> |
getMapEventJournalConfigs()
Returns the map of map event journal configurations, mapped by config
name.
|
MerkleTreeConfig |
getMapMerkleTreeConfig(String name)
Returns the map merkle tree config for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
Map<String,MerkleTreeConfig> |
getMapMerkleTreeConfigs()
Returns the map of map merkle tree configurations, mapped by config
name.
|
MemberAttributeConfig |
getMemberAttributeConfig()
Returns the member attribute configuration.
|
MultiMapConfig |
getMultiMapConfig(String name)
Returns the MultiMapConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
Map<String,MultiMapConfig> |
getMultiMapConfigs()
Returns the map of
MultiMap configurations,
mapped by config name. |
NativeMemoryConfig |
getNativeMemoryConfig()
Returns the native memory configuration for this hazelcast instance.
|
NetworkConfig |
getNetworkConfig()
Returns the network configuration for this hazelcast instance.
|
PartitionGroupConfig |
getPartitionGroupConfig()
Returns the partition group configuration for this hazelcast instance.
|
PNCounterConfig |
getPNCounterConfig(String name)
Returns the
PNCounterConfig for the given name, creating one
if necessary and adding it to the collection of known configurations. |
Map<String,PNCounterConfig> |
getPNCounterConfigs()
Returns the map of PN counter configurations, mapped by config
name.
|
Properties |
getProperties()
Returns the properties set on this config instance.
|
String |
getProperty(String name)
Returns the value for a named property.
|
QueueConfig |
getQueueConfig(String name)
Returns the QueueConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
Map<String,QueueConfig> |
getQueueConfigs()
Returns the map of
IQueue configurations,
mapped by config name. |
QuorumConfig |
getQuorumConfig(String name)
Returns the QuorumConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
Map<String,QuorumConfig> |
getQuorumConfigs()
Returns the map of split brain protection configurations, mapped by
config name.
|
ReliableTopicConfig |
getReliableTopicConfig(String name)
Returns the ReliableTopicConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
Map<String,ReliableTopicConfig> |
getReliableTopicConfigs()
Returns the map of reliable topic configurations, mapped by config name.
|
ReplicatedMapConfig |
getReplicatedMapConfig(String name)
Returns the ReplicatedMapConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
Map<String,ReplicatedMapConfig> |
getReplicatedMapConfigs()
Returns the map of
ReplicatedMap
configurations, mapped by config name. |
RingbufferConfig |
getRingbufferConfig(String name)
Returns the RingbufferConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
Map<String,RingbufferConfig> |
getRingbufferConfigs()
Returns the map of
Ringbuffer
configurations, mapped by config name. |
ScheduledExecutorConfig |
getScheduledExecutorConfig(String name)
Returns the ScheduledExecutorConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
Map<String,ScheduledExecutorConfig> |
getScheduledExecutorConfigs()
Returns the map of scheduled executor configurations, mapped by config
name.
|
SecurityConfig |
getSecurityConfig()
Returns the security configuration for this hazelcast instance.
|
SemaphoreConfig |
getSemaphoreConfig(String name)
Returns the SemaphoreConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
Collection<SemaphoreConfig> |
getSemaphoreConfigs()
Returns the collection of
ISemaphore configs
added to this config object. |
Map<String,SemaphoreConfig> |
getSemaphoreConfigsAsMap()
Returns the map of
ISemaphore configurations,
mapped by config name. |
SerializationConfig |
getSerializationConfig()
Returns the serialization configuration for this hazelcast instance.
|
ServicesConfig |
getServicesConfig()
Returns the configuration for the user services managed by this
hazelcast instance.
|
SetConfig |
getSetConfig(String name)
Returns the SetConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
Map<String,SetConfig> |
getSetConfigs()
Returns the map of
ISet configurations,
mapped by config name. |
Config |
getStaticConfig() |
TopicConfig |
getTopicConfig(String name)
Returns the TopicConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
Map<String,TopicConfig> |
getTopicConfigs()
Returns the map of reliable topic configurations, mapped by config name.
|
UserCodeDeploymentConfig |
getUserCodeDeploymentConfig()
Get current configuration of User Code Deployment.
|
ConcurrentMap<String,Object> |
getUserContext()
Returns the user supplied context.
|
WanReplicationConfig |
getWanReplicationConfig(String name)
Returns the WAN replication configuration with the given
name . |
Map<String,WanReplicationConfig> |
getWanReplicationConfigs()
Returns the map of WAN replication configurations, mapped by config
name.
|
boolean |
isLiteMember()
Returns
true if this member is a lite member. |
void |
onSecurityServiceUpdated(SecurityService securityService) |
Config |
setAdvancedNetworkConfig(AdvancedNetworkConfig advancedNetworkConfig) |
Config |
setAtomicLongConfigs(Map<String,AtomicLongConfig> atomicLongConfigs)
Sets the map of AtomicLong configurations, mapped by config name.
|
Config |
setAtomicReferenceConfigs(Map<String,AtomicReferenceConfig> atomicReferenceConfigs)
Sets the map of AtomicReference configurations, mapped by config name.
|
Config |
setCacheConfigs(Map<String,CacheSimpleConfig> cacheConfigs)
Sets the map of cache configurations, mapped by config name.
|
Config |
setCacheEventJournalConfigs(Map<String,EventJournalConfig> eventJournalConfigs)
Sets the map of cache event journal configurations, mapped by config name.
|
Config |
setCardinalityEstimatorConfigs(Map<String,CardinalityEstimatorConfig> cardinalityEstimatorConfigs)
Sets the map of cardinality estimator configurations, mapped by config name.
|
Config |
setClassLoader(ClassLoader classLoader)
Sets the class-loader to be used during de-serialization
and as context class-loader of Hazelcast internal threads.
|
void |
setConfigPatternMatcher(ConfigPatternMatcher configPatternMatcher)
Sets the pattern matcher which is used to match item names to
configuration objects.
|
Config |
setConfigurationFile(File configurationFile)
Sets the
File from which this configuration has been retrieved
and created. |
void |
setConfigurationService(ConfigurationService configurationService) |
Config |
setConfigurationUrl(URL configurationUrl)
Sets the
URL from which this configuration has been retrieved
and created. |
Config |
setCountDownLatchConfigs(Map<String,CountDownLatchConfig> countDownLatchConfigs)
Sets the map of CountDownLatch configurations, mapped by config name.
|
Config |
setCPSubsystemConfig(CPSubsystemConfig cpSubsystemConfig)
Set CP subsystem configuration
|
Config |
setCRDTReplicationConfig(CRDTReplicationConfig crdtReplicationConfig)
Sets the replication configuration for
CRDT
implementations. |
Config |
setDurableExecutorConfigs(Map<String,DurableExecutorConfig> durableExecutorConfigs)
Sets the map of durable executor configurations, mapped by config name.
|
Config |
setExecutorConfigs(Map<String,ExecutorConfig> executorConfigs)
Sets the map of executor configurations, mapped by config name.
|
Config |
setFlakeIdGeneratorConfigs(Map<String,FlakeIdGeneratorConfig> map)
Sets the map of
FlakeIdGenerator configurations,
mapped by config name. |
Config |
setGroupConfig(GroupConfig groupConfig)
Sets the configuration for hazelcast groups.
|
Config |
setHotRestartPersistenceConfig(HotRestartPersistenceConfig hrConfig)
Sets the Hot Restart configuration.
|
Config |
setInstanceName(String instanceName)
Sets the instance name uniquely identifying the hazelcast instance
created by this configuration.
|
Config |
setJobTrackerConfigs(Map<String,JobTrackerConfig> jobTrackerConfigs)
Sets the map of job tracker configurations, mapped by config name.
|
Config |
setLicenseKey(String licenseKey)
Sets the license key for this hazelcast instance.
|
Config |
setListConfigs(Map<String,ListConfig> listConfigs)
Sets the map of
IList configurations,
mapped by config name. |
Config |
setListenerConfigs(List<ListenerConfig> listenerConfigs)
Sets the list of
EventListener configurations. |
Config |
setLiteMember(boolean liteMember)
Sets the flag to indicate if this member is a lite member.
|
Config |
setLockConfigs(Map<String,LockConfig> lockConfigs)
Sets the map of
ILock configurations,
mapped by config name. |
Config |
setManagedContext(ManagedContext managedContext)
Sets the external managed context.
|
Config |
setManagementCenterConfig(ManagementCenterConfig managementCenterConfig)
Sets the management center configuration for this hazelcast instance.
|
Config |
setMapConfigs(Map<String,MapConfig> mapConfigs)
Sets the map of
IMap configurations,
mapped by config name. |
Config |
setMapEventJournalConfigs(Map<String,EventJournalConfig> eventJournalConfigs)
Sets the map of map event journal configurations, mapped by config name.
|
Config |
setMapMerkleTreeConfigs(Map<String,MerkleTreeConfig> merkleTreeConfigs)
Sets the map of map merkle configurations, mapped by config name.
|
void |
setMemberAttributeConfig(MemberAttributeConfig memberAttributeConfig)
Sets the member attribute configuration.
|
Config |
setMultiMapConfigs(Map<String,MultiMapConfig> multiMapConfigs)
Sets the map of
MultiMap configurations,
mapped by config name. |
Config |
setNativeMemoryConfig(NativeMemoryConfig nativeMemoryConfig)
Sets the native memory configuration for this hazelcast instance.
|
Config |
setNetworkConfig(NetworkConfig networkConfig)
Sets the network configuration for this hazelcast instance.
|
Config |
setPartitionGroupConfig(PartitionGroupConfig partitionGroupConfig)
Sets the partition group configuration for this hazelcast instance.
|
Config |
setPNCounterConfigs(Map<String,PNCounterConfig> pnCounterConfigs)
Sets the map of PN counter configurations, mapped by config name.
|
Config |
setProperties(Properties properties)
Sets the properties for this config instance.
|
Config |
setProperty(String name,
String value)
Sets the value of a named property.
|
Config |
setQueueConfigs(Map<String,QueueConfig> queueConfigs)
Sets the map of
IQueue configurations,
mapped by config name. |
Config |
setQuorumConfigs(Map<String,QuorumConfig> quorumConfigs)
Sets the map of split-brain protection configurations, mapped by config
name.
|
Config |
setReliableTopicConfigs(Map<String,ReliableTopicConfig> reliableTopicConfigs)
Sets the map of reliable topic configurations, mapped by config name.
|
Config |
setReplicatedMapConfigs(Map<String,ReplicatedMapConfig> replicatedMapConfigs)
Sets the map of
ReplicatedMap configurations,
mapped by config name. |
Config |
setRingbufferConfigs(Map<String,RingbufferConfig> ringbufferConfigs)
Sets the map of
Ringbuffer configurations,
mapped by config name. |
Config |
setScheduledExecutorConfigs(Map<String,ScheduledExecutorConfig> scheduledExecutorConfigs)
Sets the map of scheduled executor configurations, mapped by config name.
|
Config |
setSecurityConfig(SecurityConfig securityConfig)
Sets the security configuration for this hazelcast instance.
|
Config |
setSemaphoreConfigs(Map<String,SemaphoreConfig> semaphoreConfigs)
Sets the map of semaphore configurations, mapped by config name.
|
Config |
setSerializationConfig(SerializationConfig serializationConfig)
Sets the serialization configuration for this hazelcast instance.
|
Config |
setServicesConfig(ServicesConfig servicesConfig)
Sets the configuration for the user services managed by this hazelcast
instance.
|
Config |
setSetConfigs(Map<String,SetConfig> setConfigs)
Sets the map of
ISet configurations,
mapped by config name. |
Config |
setTopicConfigs(Map<String,TopicConfig> mapTopicConfigs)
Sets the map of
ITopic configurations,
mapped by config name. |
Config |
setUserCodeDeploymentConfig(UserCodeDeploymentConfig userCodeDeploymentConfig)
Set User Code Deployment configuration
|
Config |
setUserContext(ConcurrentMap<String,Object> userContext)
Sets the user supplied context.
|
Config |
setWanReplicationConfigs(Map<String,WanReplicationConfig> wanReplicationConfigs)
Sets the map of WAN replication configurations, mapped by config name.
|
String |
toString() |
public DynamicConfigurationAwareConfig(Config staticConfig, HazelcastProperties properties)
public ClassLoader getClassLoader()
Config
If null
, then thread context class-loader will be used instead.
getClassLoader
in class Config
public Config setClassLoader(ClassLoader classLoader)
Config
If not set (or set to null
); thread context class-loader
will be used in required places.
Default value is null
.
setClassLoader
in class Config
classLoader
- class-loader to be used during de-serializationpublic ConfigPatternMatcher getConfigPatternMatcher()
Config
MatchingPointConfigPatternMatcher
is used.getConfigPatternMatcher
in class Config
public void setConfigPatternMatcher(ConfigPatternMatcher configPatternMatcher)
Config
MatchingPointConfigPatternMatcher
is used.setConfigPatternMatcher
in class Config
configPatternMatcher
- the pattern matcherpublic String getProperty(String name)
Config
getProperty
in class Config
name
- property nameConfig.setProperty(String, String)
,
Hazelcast System Propertiespublic Config setProperty(String name, String value)
Config
setProperty
in class Config
name
- property namevalue
- value of the propertypublic MemberAttributeConfig getMemberAttributeConfig()
Config
Config.setProperties(Properties)
), member
attributes are exchanged with other members, e.g. on membership events.getMemberAttributeConfig
in class Config
public void setMemberAttributeConfig(MemberAttributeConfig memberAttributeConfig)
Config
Config.setProperties(Properties)
), member
attributes are exchanged with other members, e.g. on membership events.setMemberAttributeConfig
in class Config
memberAttributeConfig
- the member attribute configurationpublic Properties getProperties()
Config
getProperties
in class Config
public Config setProperties(Properties properties)
Config
setProperties
in class Config
properties
- the config propertiespublic String getInstanceName()
Config
getInstanceName
in class Config
public Config setInstanceName(String instanceName)
Config
setInstanceName
in class Config
instanceName
- the hazelcast instance namepublic GroupConfig getGroupConfig()
Config
getGroupConfig
in class Config
public Config setGroupConfig(GroupConfig groupConfig)
Config
setGroupConfig
in class Config
groupConfig
- the hazelcast group configurationpublic NetworkConfig getNetworkConfig()
Config
getNetworkConfig
in class Config
public Config setNetworkConfig(NetworkConfig networkConfig)
Config
setNetworkConfig
in class Config
networkConfig
- the network configurationpublic AdvancedNetworkConfig getAdvancedNetworkConfig()
getAdvancedNetworkConfig
in class Config
public Config setAdvancedNetworkConfig(AdvancedNetworkConfig advancedNetworkConfig)
setAdvancedNetworkConfig
in class Config
public MapConfig findMapConfig(String name)
Config
IMap
configuration for
the given name.
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
For non-default configurations and on-heap maps, it will also
initialise the Near Cache eviction if not previously set.
findMapConfig
in class Config
name
- name of the map configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
,
EvictionConfig.setSize(int)
public MapConfig getMapConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking Config.addMapConfig(MapConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getMapConfig
in class Config
name
- name of the map configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public MapConfig getMapConfigOrNull(String name)
Config
null
if there is none.
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.getMapConfigOrNull
in class Config
name
- name of the map confignull
if none was foundStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Config addMapConfig(MapConfig mapConfig)
Config
addMapConfig
in class Config
mapConfig
- the map configurationpublic <T> boolean checkStaticConfigDoesNotExist(Map<String,T> staticConfigurations, String configName, T newConfig)
public Config getStaticConfig()
public Map<String,MapConfig> getMapConfigs()
Config
IMap
configurations,
mapped by config name. The config name may be a pattern with which the
configuration was initially obtained.getMapConfigs
in class Config
public Config setMapConfigs(Map<String,MapConfig> mapConfigs)
Config
IMap
configurations,
mapped by config name. The config name may be a pattern with which the
configuration will be obtained in the future.setMapConfigs
in class Config
mapConfigs
- the IMap configuration map to setpublic CacheSimpleConfig findCacheConfig(String name)
Config
CacheSimpleConfig
configuration for the given name.
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findCacheConfig
in class Config
name
- name of the cardinality estimator configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public CacheSimpleConfig findCacheConfigOrNull(String name)
Config
null
if there is none.
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.findCacheConfigOrNull
in class Config
name
- name of the cache confignull
if none was foundStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public CacheSimpleConfig getCacheConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking Config.addCacheConfig(CacheSimpleConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getCacheConfig
in class Config
name
- name of the cache configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Config addCacheConfig(CacheSimpleConfig cacheConfig)
Config
addCacheConfig
in class Config
cacheConfig
- the cache configurationpublic Map<String,CacheSimpleConfig> getCacheConfigs()
Config
getCacheConfigs
in class Config
public Config setCacheConfigs(Map<String,CacheSimpleConfig> cacheConfigs)
Config
setCacheConfigs
in class Config
cacheConfigs
- the cacheConfigs to setpublic QueueConfig findQueueConfig(String name)
Config
IQueue
configuration for
the given name.
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findQueueConfig
in class Config
name
- name of the queue configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
,
EvictionConfig.setSize(int)
public QueueConfig getQueueConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking Config.addQueueConfig(QueueConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getQueueConfig
in class Config
name
- name of the queue configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Config addQueueConfig(QueueConfig queueConfig)
Config
addQueueConfig
in class Config
queueConfig
- the queue configurationpublic Map<String,QueueConfig> getQueueConfigs()
Config
IQueue
configurations,
mapped by config name. The config name may be a pattern with which the
configuration was initially obtained.getQueueConfigs
in class Config
public Config setQueueConfigs(Map<String,QueueConfig> queueConfigs)
Config
IQueue
configurations,
mapped by config name. The config name may be a pattern with which the
configuration will be obtained in the future.setQueueConfigs
in class Config
queueConfigs
- the queue configuration map to setpublic LockConfig findLockConfig(String name)
Config
ILock
configuration for
the given name.
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findLockConfig
in class Config
name
- name of the lock configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
,
EvictionConfig.setSize(int)
public LockConfig getLockConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking Config.addLockConfig(LockConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getLockConfig
in class Config
name
- name of the lock configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Config addLockConfig(LockConfig lockConfig)
Config
addLockConfig
in class Config
lockConfig
- the lock configurationpublic Map<String,LockConfig> getLockConfigs()
Config
ILock
configurations,
mapped by config name. The config name may be a pattern with which the
configuration was initially obtained.getLockConfigs
in class Config
public Config setLockConfigs(Map<String,LockConfig> lockConfigs)
Config
ILock
configurations,
mapped by config name. The config name may be a pattern with which the
configuration will be obtained in the future.setLockConfigs
in class Config
lockConfigs
- the ILock configuration map to setpublic ListConfig findListConfig(String name)
Config
IList
configuration for
the given name.
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findListConfig
in class Config
name
- name of the list configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
,
EvictionConfig.setSize(int)
public ListConfig getListConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking Config.addListConfig(ListConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getListConfig
in class Config
name
- name of the list configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Config addListConfig(ListConfig listConfig)
Config
addListConfig
in class Config
listConfig
- the list configurationpublic Map<String,ListConfig> getListConfigs()
Config
IList
configurations,
mapped by config name. The config name may be a pattern with which the
configuration was initially obtained.getListConfigs
in class Config
public Config setListConfigs(Map<String,ListConfig> listConfigs)
Config
IList
configurations,
mapped by config name. The config name may be a pattern with which the
configuration will be obtained in the future.setListConfigs
in class Config
listConfigs
- the list configuration map to setpublic SetConfig findSetConfig(String name)
Config
ISet
configuration for
the given name.
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findSetConfig
in class Config
name
- name of the set configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
,
EvictionConfig.setSize(int)
public SetConfig getSetConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking Config.addSetConfig(SetConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getSetConfig
in class Config
name
- name of the set configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Config addSetConfig(SetConfig setConfig)
Config
addSetConfig
in class Config
setConfig
- the set configurationpublic Map<String,SetConfig> getSetConfigs()
Config
ISet
configurations,
mapped by config name. The config name may be a pattern with which the
configuration was initially obtained.getSetConfigs
in class Config
public Config setSetConfigs(Map<String,SetConfig> setConfigs)
Config
ISet
configurations,
mapped by config name. The config name may be a pattern with which the
configuration will be obtained in the future.setSetConfigs
in class Config
setConfigs
- the set configuration map to setpublic MultiMapConfig findMultiMapConfig(String name)
Config
MultiMap
configuration for
the given name.
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findMultiMapConfig
in class Config
name
- name of the multimap configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
,
EvictionConfig.setSize(int)
public MultiMapConfig getMultiMapConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking Config.addMultiMapConfig(MultiMapConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getMultiMapConfig
in class Config
name
- name of the multimap configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Config addMultiMapConfig(MultiMapConfig multiMapConfig)
Config
addMultiMapConfig
in class Config
multiMapConfig
- the multimap configurationpublic Map<String,MultiMapConfig> getMultiMapConfigs()
Config
MultiMap
configurations,
mapped by config name. The config name may be a pattern with which the
configuration was initially obtained.getMultiMapConfigs
in class Config
public Config setMultiMapConfigs(Map<String,MultiMapConfig> multiMapConfigs)
Config
MultiMap
configurations,
mapped by config name. The config name may be a pattern with which the
configuration will be obtained in the future.setMultiMapConfigs
in class Config
multiMapConfigs
- the multimap configuration map to setpublic ReplicatedMapConfig findReplicatedMapConfig(String name)
Config
ReplicatedMap
configuration for
the given name.
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findReplicatedMapConfig
in class Config
name
- name of the replicated map configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
,
EvictionConfig.setSize(int)
public ReplicatedMapConfig getReplicatedMapConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking
Config.addReplicatedMapConfig(ReplicatedMapConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getReplicatedMapConfig
in class Config
name
- name of the replicated map configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Config addReplicatedMapConfig(ReplicatedMapConfig replicatedMapConfig)
Config
addReplicatedMapConfig
in class Config
replicatedMapConfig
- the replicated map configurationpublic Map<String,ReplicatedMapConfig> getReplicatedMapConfigs()
Config
ReplicatedMap
configurations, mapped by config name. The config name may be a pattern
with which the configuration was initially obtained.getReplicatedMapConfigs
in class Config
public Config setReplicatedMapConfigs(Map<String,ReplicatedMapConfig> replicatedMapConfigs)
Config
ReplicatedMap
configurations,
mapped by config name. The config name may be a pattern with which the
configuration will be obtained in the future.setReplicatedMapConfigs
in class Config
replicatedMapConfigs
- the replicated map configuration map to setpublic RingbufferConfig findRingbufferConfig(String name)
Config
Ringbuffer
configuration for the given name.
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findRingbufferConfig
in class Config
name
- name of the ringbuffer configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
,
EvictionConfig.setSize(int)
public RingbufferConfig getRingbufferConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking
Config.addRingBufferConfig(RingbufferConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getRingbufferConfig
in class Config
name
- name of the ringbuffer configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Config addRingBufferConfig(RingbufferConfig ringbufferConfig)
Config
addRingBufferConfig
in class Config
ringbufferConfig
- the ringbuffer configurationpublic Map<String,RingbufferConfig> getRingbufferConfigs()
Config
Ringbuffer
configurations, mapped by config name. The config name may be a pattern
with which the configuration was initially obtained.getRingbufferConfigs
in class Config
public Config setRingbufferConfigs(Map<String,RingbufferConfig> ringbufferConfigs)
Config
Ringbuffer
configurations,
mapped by config name. The config name may be a pattern with which the
configuration will be obtained in the future.setRingbufferConfigs
in class Config
ringbufferConfigs
- the ringbuffer configuration map to setpublic AtomicLongConfig findAtomicLongConfig(String name)
Config
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findAtomicLongConfig
in class Config
name
- name of the AtomicLong configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public AtomicLongConfig getAtomicLongConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking Config.addAtomicLongConfig(AtomicLongConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getAtomicLongConfig
in class Config
name
- name of the AtomicLong configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Config addAtomicLongConfig(AtomicLongConfig atomicLongConfig)
Config
addAtomicLongConfig
in class Config
atomicLongConfig
- the AtomicLong configurationpublic Map<String,AtomicLongConfig> getAtomicLongConfigs()
Config
getAtomicLongConfigs
in class Config
public Config setAtomicLongConfigs(Map<String,AtomicLongConfig> atomicLongConfigs)
Config
setAtomicLongConfigs
in class Config
atomicLongConfigs
- the AtomicLong configuration map to setpublic AtomicReferenceConfig findAtomicReferenceConfig(String name)
Config
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findAtomicReferenceConfig
in class Config
name
- name of the AtomicReference configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public AtomicReferenceConfig getAtomicReferenceConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking Config.addAtomicReferenceConfig(AtomicReferenceConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getAtomicReferenceConfig
in class Config
name
- name of the AtomicReference configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Config addAtomicReferenceConfig(AtomicReferenceConfig atomicReferenceConfig)
Config
addAtomicReferenceConfig
in class Config
atomicReferenceConfig
- the AtomicReference configurationpublic Map<String,AtomicReferenceConfig> getAtomicReferenceConfigs()
Config
getAtomicReferenceConfigs
in class Config
public Config setAtomicReferenceConfigs(Map<String,AtomicReferenceConfig> atomicReferenceConfigs)
Config
setAtomicReferenceConfigs
in class Config
atomicReferenceConfigs
- the AtomicReference configuration map to setpublic CountDownLatchConfig findCountDownLatchConfig(String name)
Config
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findCountDownLatchConfig
in class Config
name
- name of the CountDownLatch configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public CountDownLatchConfig getCountDownLatchConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking Config.addCountDownLatchConfig(CountDownLatchConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getCountDownLatchConfig
in class Config
name
- name of the CountDownLatch configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Config addCountDownLatchConfig(CountDownLatchConfig countDownLatchConfig)
Config
addCountDownLatchConfig
in class Config
countDownLatchConfig
- the CountDownLatch configurationpublic Map<String,CountDownLatchConfig> getCountDownLatchConfigs()
Config
getCountDownLatchConfigs
in class Config
public Config setCountDownLatchConfigs(Map<String,CountDownLatchConfig> countDownLatchConfigs)
Config
setCountDownLatchConfigs
in class Config
countDownLatchConfigs
- the CountDownLatch configuration map to setpublic TopicConfig findTopicConfig(String name)
Config
ITopic
configuration for the given name.
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findTopicConfig
in class Config
name
- name of the topic configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
,
EvictionConfig.setSize(int)
public TopicConfig getTopicConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking Config.addTopicConfig(TopicConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getTopicConfig
in class Config
name
- name of the topic configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Config addTopicConfig(TopicConfig topicConfig)
Config
addTopicConfig
in class Config
topicConfig
- the topic configurationpublic Map<String,TopicConfig> getTopicConfigs()
Config
getTopicConfigs
in class Config
public Config setTopicConfigs(Map<String,TopicConfig> mapTopicConfigs)
Config
ITopic
configurations,
mapped by config name. The config name may be a pattern with which the
configuration will be obtained in the future.setTopicConfigs
in class Config
mapTopicConfigs
- the topic configuration map to setpublic ReliableTopicConfig findReliableTopicConfig(String name)
Config
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findReliableTopicConfig
in class Config
name
- name of the reliable topic configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
,
EvictionConfig.setSize(int)
public ReliableTopicConfig getReliableTopicConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking
Config.addReliableTopicConfig(ReliableTopicConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getReliableTopicConfig
in class Config
name
- name of the reliable topic configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Map<String,ReliableTopicConfig> getReliableTopicConfigs()
Config
getReliableTopicConfigs
in class Config
public Config addReliableTopicConfig(ReliableTopicConfig reliableTopicConfig)
Config
addReliableTopicConfig
in class Config
reliableTopicConfig
- the reliable topic configurationpublic Config setReliableTopicConfigs(Map<String,ReliableTopicConfig> reliableTopicConfigs)
Config
setReliableTopicConfigs
in class Config
reliableTopicConfigs
- the reliable topic configuration map to setpublic ExecutorConfig findExecutorConfig(String name)
Config
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findExecutorConfig
in class Config
name
- name of the executor configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
,
EvictionConfig.setSize(int)
public ExecutorConfig getExecutorConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking Config.addExecutorConfig(ExecutorConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getExecutorConfig
in class Config
name
- name of the executor configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Config addExecutorConfig(ExecutorConfig executorConfig)
Config
addExecutorConfig
in class Config
executorConfig
- executor config to addpublic Map<String,ExecutorConfig> getExecutorConfigs()
Config
getExecutorConfigs
in class Config
public Config setExecutorConfigs(Map<String,ExecutorConfig> executorConfigs)
Config
setExecutorConfigs
in class Config
executorConfigs
- the executor configuration map to setpublic DurableExecutorConfig findDurableExecutorConfig(String name)
Config
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findDurableExecutorConfig
in class Config
name
- name of the durable executor configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
,
EvictionConfig.setSize(int)
public DurableExecutorConfig getDurableExecutorConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking
Config.addDurableExecutorConfig(DurableExecutorConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getDurableExecutorConfig
in class Config
name
- name of the durable executor configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Config addDurableExecutorConfig(DurableExecutorConfig durableExecutorConfig)
Config
addDurableExecutorConfig
in class Config
durableExecutorConfig
- durable executor config to addpublic Map<String,DurableExecutorConfig> getDurableExecutorConfigs()
Config
getDurableExecutorConfigs
in class Config
public Config setDurableExecutorConfigs(Map<String,DurableExecutorConfig> durableExecutorConfigs)
Config
setDurableExecutorConfigs
in class Config
durableExecutorConfigs
- the durable executor configuration map to setpublic ScheduledExecutorConfig findScheduledExecutorConfig(String name)
Config
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findScheduledExecutorConfig
in class Config
name
- name of the scheduled executor configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
,
EvictionConfig.setSize(int)
public ScheduledExecutorConfig getScheduledExecutorConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking
Config.addScheduledExecutorConfig(ScheduledExecutorConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getScheduledExecutorConfig
in class Config
name
- name of the scheduled executor configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Map<String,ScheduledExecutorConfig> getScheduledExecutorConfigs()
Config
getScheduledExecutorConfigs
in class Config
public Config addScheduledExecutorConfig(ScheduledExecutorConfig scheduledExecutorConfig)
Config
addScheduledExecutorConfig
in class Config
scheduledExecutorConfig
- scheduled executor config to addpublic Config setScheduledExecutorConfigs(Map<String,ScheduledExecutorConfig> scheduledExecutorConfigs)
Config
setScheduledExecutorConfigs
in class Config
scheduledExecutorConfigs
- the scheduled executor configuration
map to setpublic CardinalityEstimatorConfig findCardinalityEstimatorConfig(String name)
Config
CardinalityEstimator
configuration for the given name.
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findCardinalityEstimatorConfig
in class Config
name
- name of the cardinality estimator configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
,
EvictionConfig.setSize(int)
public CardinalityEstimatorConfig getCardinalityEstimatorConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking
Config.addCardinalityEstimatorConfig(CardinalityEstimatorConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getCardinalityEstimatorConfig
in class Config
name
- name of the cardinality estimator configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Config addCardinalityEstimatorConfig(CardinalityEstimatorConfig cardinalityEstimatorConfig)
Config
addCardinalityEstimatorConfig
in class Config
cardinalityEstimatorConfig
- cardinality estimator config to addpublic Map<String,CardinalityEstimatorConfig> getCardinalityEstimatorConfigs()
Config
getCardinalityEstimatorConfigs
in class Config
public Config setCardinalityEstimatorConfigs(Map<String,CardinalityEstimatorConfig> cardinalityEstimatorConfigs)
Config
setCardinalityEstimatorConfigs
in class Config
cardinalityEstimatorConfigs
- the cardinality estimator
configuration map to setpublic PNCounterConfig findPNCounterConfig(String name)
Config
PNCounterConfig
configuration for the given name.
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findPNCounterConfig
in class Config
name
- name of the PN counter configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
,
EvictionConfig.setSize(int)
public PNCounterConfig getPNCounterConfig(String name)
Config
PNCounterConfig
for the given name, creating one
if necessary and adding it to the collection of known configurations.
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking
Config.addPNCounterConfig(PNCounterConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getPNCounterConfig
in class Config
name
- name of the PN counter configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Config addPNCounterConfig(PNCounterConfig pnCounterConfig)
Config
addPNCounterConfig
in class Config
pnCounterConfig
- PN counter config to addpublic Map<String,PNCounterConfig> getPNCounterConfigs()
Config
getPNCounterConfigs
in class Config
public Config setPNCounterConfigs(Map<String,PNCounterConfig> pnCounterConfigs)
Config
setPNCounterConfigs
in class Config
pnCounterConfigs
- the PN counter configuration map to setpublic SemaphoreConfig findSemaphoreConfig(String name)
Config
ISemaphore
configuration for the given name.
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findSemaphoreConfig
in class Config
name
- name of the semaphore configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
,
EvictionConfig.setSize(int)
public SemaphoreConfig getSemaphoreConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking
Config.addSemaphoreConfig(SemaphoreConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getSemaphoreConfig
in class Config
name
- name of the semaphore configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Config addSemaphoreConfig(SemaphoreConfig semaphoreConfig)
Config
ISemaphore
configuration.
The configuration is saved under the config name, which may be a
pattern with which the configuration will be obtained in the future.addSemaphoreConfig
in class Config
semaphoreConfig
- semaphoreConfig config to addpublic Collection<SemaphoreConfig> getSemaphoreConfigs()
Config
ISemaphore
configs
added to this config object.getSemaphoreConfigs
in class Config
public Map<String,SemaphoreConfig> getSemaphoreConfigsAsMap()
Config
ISemaphore
configurations,
mapped by config name. The config name may be a pattern with which the
configuration was initially obtained.getSemaphoreConfigsAsMap
in class Config
public Config setSemaphoreConfigs(Map<String,SemaphoreConfig> semaphoreConfigs)
Config
setSemaphoreConfigs
in class Config
semaphoreConfigs
- the semaphore configuration map to setpublic EventJournalConfig findCacheEventJournalConfig(String name)
Config
EventJournal
configuration for the given name.
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findCacheEventJournalConfig
in class Config
name
- name of the cache event journal configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
,
EvictionConfig.setSize(int)
public EventJournalConfig getCacheEventJournalConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
If there is no default config as well, it will create one and disable
the event journal by default.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking
Config.addEventJournalConfig(EventJournalConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getCacheEventJournalConfig
in class Config
name
- name of the cache event journal configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Map<String,EventJournalConfig> getCacheEventJournalConfigs()
Config
getCacheEventJournalConfigs
in class Config
public EventJournalConfig findMapEventJournalConfig(String name)
Config
EventJournal
configuration for the given name.
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findMapEventJournalConfig
in class Config
name
- name of the map event journal configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
,
EvictionConfig.setSize(int)
public EventJournalConfig getMapEventJournalConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
If there is no default config as well, it will create one and disable
the event journal by default.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking
Config.addEventJournalConfig(EventJournalConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getMapEventJournalConfig
in class Config
name
- name of the map event journal configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Map<String,EventJournalConfig> getMapEventJournalConfigs()
Config
getMapEventJournalConfigs
in class Config
public Config addEventJournalConfig(EventJournalConfig eventJournalConfig)
Config
EventJournalConfig.getMapName()
means the configuration applies to maps and a non-empty value for
EventJournalConfig.getCacheName()
means the configuration
applies to caches.
The returned name may be a pattern with which the configuration
will be obtained in the future.addEventJournalConfig
in class Config
eventJournalConfig
- the event journal configurationpublic Config setMapEventJournalConfigs(Map<String,EventJournalConfig> eventJournalConfigs)
Config
setMapEventJournalConfigs
in class Config
eventJournalConfigs
- the map event journal configuration map to setpublic Config setCacheEventJournalConfigs(Map<String,EventJournalConfig> eventJournalConfigs)
Config
setCacheEventJournalConfigs
in class Config
eventJournalConfigs
- the cache event journal configuration map to setpublic MerkleTreeConfig findMapMerkleTreeConfig(String name)
Config
MerkleTreeConfig
for the given name.
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findMapMerkleTreeConfig
in class Config
name
- name of the map merkle tree configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public MerkleTreeConfig getMapMerkleTreeConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
If there is no default config as well, it will create one and disable
the merkle tree by default.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking
Config.addMerkleTreeConfig(MerkleTreeConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getMapMerkleTreeConfig
in class Config
name
- name of the map merkle tree configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Config addMerkleTreeConfig(MerkleTreeConfig merkleTreeConfig)
Config
MerkleTreeConfig.getMapName()
may be a
pattern with which the configuration will be obtained in the future.addMerkleTreeConfig
in class Config
merkleTreeConfig
- the merkle tree configurationpublic Map<String,MerkleTreeConfig> getMapMerkleTreeConfigs()
Config
getMapMerkleTreeConfigs
in class Config
public Config setMapMerkleTreeConfigs(Map<String,MerkleTreeConfig> merkleTreeConfigs)
Config
setMapMerkleTreeConfigs
in class Config
merkleTreeConfigs
- the map merkle tree configuration map to setpublic Map<String,FlakeIdGeneratorConfig> getFlakeIdGeneratorConfigs()
Config
FlakeIdGenerator
configurations,
mapped by config name. The config name may be a pattern with which the
configuration was initially obtained.getFlakeIdGeneratorConfigs
in class Config
public FlakeIdGeneratorConfig findFlakeIdGeneratorConfig(String name)
Config
FlakeIdGeneratorConfig
configuration for the given flake ID generator name.
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name "default"
.
findFlakeIdGeneratorConfig
in class Config
name
- name of the flake ID generator configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public FlakeIdGeneratorConfig getFlakeIdGeneratorConfig(String name)
Config
FlakeIdGeneratorConfig
for the given name, creating
one if necessary and adding it to the collection of known configurations.
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking Config.addFlakeIdGeneratorConfig(FlakeIdGeneratorConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getFlakeIdGeneratorConfig
in class Config
name
- name of the flake ID generator configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Config addFlakeIdGeneratorConfig(FlakeIdGeneratorConfig config)
Config
addFlakeIdGeneratorConfig
in class Config
config
- the flake ID generator configurationpublic Config setFlakeIdGeneratorConfigs(Map<String,FlakeIdGeneratorConfig> map)
Config
FlakeIdGenerator
configurations,
mapped by config name. The config name may be a pattern with which the
configuration will be obtained in the future.setFlakeIdGeneratorConfigs
in class Config
map
- the FlakeIdGenerator configuration map to setpublic WanReplicationConfig getWanReplicationConfig(String name)
Config
name
.getWanReplicationConfig
in class Config
name
- the WAN replication config namepublic Config addWanReplicationConfig(WanReplicationConfig wanReplicationConfig)
Config
WanReplicationConfig.getName()
.addWanReplicationConfig
in class Config
wanReplicationConfig
- the WAN replication configpublic Map<String,WanReplicationConfig> getWanReplicationConfigs()
Config
getWanReplicationConfigs
in class Config
public Config setWanReplicationConfigs(Map<String,WanReplicationConfig> wanReplicationConfigs)
Config
setWanReplicationConfigs
in class Config
wanReplicationConfigs
- the WAN replication configuration map to setpublic JobTrackerConfig findJobTrackerConfig(String name)
Config
JobTracker
configuration for the given name.
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findJobTrackerConfig
in class Config
name
- name of the job tracker configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
,
EvictionConfig.setSize(int)
public JobTrackerConfig getJobTrackerConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking
Config.addJobTrackerConfig(JobTrackerConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getJobTrackerConfig
in class Config
name
- name of the job tracker configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public Config addJobTrackerConfig(JobTrackerConfig jobTrackerConfig)
Config
JobTracker
configuration.
The configuration is saved under the config name defined by
JobTrackerConfig.getName()
.addJobTrackerConfig
in class Config
jobTrackerConfig
- semaphoreConfig config to addpublic Map<String,JobTrackerConfig> getJobTrackerConfigs()
Config
JobTracker
configurations, mapped by config name. The config name may be a pattern
with which the configuration was initially obtained.getJobTrackerConfigs
in class Config
public Config setJobTrackerConfigs(Map<String,JobTrackerConfig> jobTrackerConfigs)
Config
setJobTrackerConfigs
in class Config
jobTrackerConfigs
- the job tracker configuration map to setpublic Map<String,QuorumConfig> getQuorumConfigs()
Config
getQuorumConfigs
in class Config
public QuorumConfig getQuorumConfig(String name)
Config
The configuration is found by matching the configuration name
pattern to the provided name
without the partition qualifier
(the part of the name after '@'
).
If no configuration matches, it will create one by cloning the
"default"
configuration and add it to the configuration
collection.
This method is intended to easily and fluently create and add
configurations more specific than the default configuration without
explicitly adding it by invoking
Config.addQuorumConfig(QuorumConfig)
.
Because it adds new configurations if they are not already present, this method is intended to be used before this config is used to create a hazelcast instance. Afterwards, newly added configurations may be ignored.
getQuorumConfig
in class Config
name
- name of the split-brain protection configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
public QuorumConfig findQuorumConfig(String name)
Config
The name is matched by pattern to the configuration and by stripping the
partition ID qualifier from the given name
.
If there is no config found by the name, it will return the configuration
with the name default
.
findQuorumConfig
in class Config
name
- name of the split-brain protection configStringPartitioningStrategy.getBaseName(java.lang.String)
,
Config.setConfigPatternMatcher(ConfigPatternMatcher)
,
Config.getConfigPatternMatcher()
,
EvictionConfig.setSize(int)
public Config setQuorumConfigs(Map<String,QuorumConfig> quorumConfigs)
Config
setQuorumConfigs
in class Config
quorumConfigs
- the split-brain protection configuration map to setpublic Config addQuorumConfig(QuorumConfig quorumConfig)
Config
QuorumConfig.getName()
.addQuorumConfig
in class Config
quorumConfig
- split-brain protection config to addpublic ManagementCenterConfig getManagementCenterConfig()
Config
getManagementCenterConfig
in class Config
public Config setManagementCenterConfig(ManagementCenterConfig managementCenterConfig)
Config
setManagementCenterConfig
in class Config
managementCenterConfig
- the management center configurationpublic ServicesConfig getServicesConfig()
Config
getServicesConfig
in class Config
public Config setServicesConfig(ServicesConfig servicesConfig)
Config
setServicesConfig
in class Config
servicesConfig
- the user services configurationpublic SecurityConfig getSecurityConfig()
Config
getSecurityConfig
in class Config
public Config setSecurityConfig(SecurityConfig securityConfig)
Config
setSecurityConfig
in class Config
securityConfig
- the security configurationpublic Config addListenerConfig(ListenerConfig listenerConfig)
Config
EventListener
. This includes
listeners for events related to this instance/member or the cluster,
such as partition, migration, cluster version listeners, etc. but not
listeners on specific distributed data structures.addListenerConfig
in class Config
listenerConfig
- the listener configurationpublic List<ListenerConfig> getListenerConfigs()
Config
EventListener
configurations. This includes
listeners for events related to this instance/member or the cluster,
such as partition, migration, cluster version listeners, etc. but not
listeners on specific distributed data structures.getListenerConfigs
in class Config
public Config setListenerConfigs(List<ListenerConfig> listenerConfigs)
Config
EventListener
configurations. This includes
listeners for events related to this instance/member or the cluster,
such as partition, migration, cluster version listeners, etc. but not
listeners on specific distributed data structures.setListenerConfigs
in class Config
listenerConfigs
- the listener configurationspublic SerializationConfig getSerializationConfig()
Config
getSerializationConfig
in class Config
public Config setSerializationConfig(SerializationConfig serializationConfig)
Config
setSerializationConfig
in class Config
serializationConfig
- the serialization configurationpublic PartitionGroupConfig getPartitionGroupConfig()
Config
getPartitionGroupConfig
in class Config
public Config setPartitionGroupConfig(PartitionGroupConfig partitionGroupConfig)
Config
setPartitionGroupConfig
in class Config
partitionGroupConfig
- the partition group configurationpublic HotRestartPersistenceConfig getHotRestartPersistenceConfig()
Config
getHotRestartPersistenceConfig
in class Config
public Config setHotRestartPersistenceConfig(HotRestartPersistenceConfig hrConfig)
Config
setHotRestartPersistenceConfig
in class Config
hrConfig
- Hot Restart configurationpublic CRDTReplicationConfig getCRDTReplicationConfig()
getCRDTReplicationConfig
in class Config
public Config setCRDTReplicationConfig(CRDTReplicationConfig crdtReplicationConfig)
Config
CRDT
implementations.setCRDTReplicationConfig
in class Config
crdtReplicationConfig
- the replication configurationpublic ManagedContext getManagedContext()
Config
getManagedContext
in class Config
public Config setManagedContext(ManagedContext managedContext)
Config
setManagedContext
in class Config
managedContext
- the managed contextpublic ConcurrentMap<String,Object> getUserContext()
Config
HazelcastInstance
.getUserContext
in class Config
HazelcastInstance.getUserContext()
public Config setUserContext(ConcurrentMap<String,Object> userContext)
Config
HazelcastInstance
.setUserContext
in class Config
userContext
- the user supplied contextHazelcastInstance.getUserContext()
public NativeMemoryConfig getNativeMemoryConfig()
Config
getNativeMemoryConfig
in class Config
public Config setNativeMemoryConfig(NativeMemoryConfig nativeMemoryConfig)
Config
setNativeMemoryConfig
in class Config
nativeMemoryConfig
- the native memory configurationpublic URL getConfigurationUrl()
Config
URL
to the declarative configuration, which has been parsed
to create this Config
instance.getConfigurationUrl
in class Config
null
otherwisepublic Config setConfigurationUrl(URL configurationUrl)
Config
URL
from which this configuration has been retrieved
and created.
Is set by the XmlConfigBuilder
, when the XML configuration was
retrieved from a URL.
setConfigurationUrl
in class Config
configurationUrl
- the configuration URL to setpublic File getConfigurationFile()
Config
File
to the declarative configuration, which has been
parsed to create this Config
instance.getConfigurationFile
in class Config
null
otherwisepublic Config setConfigurationFile(File configurationFile)
Config
File
from which this configuration has been retrieved
and created.
Is set by the XmlConfigBuilder
, when the XML configuration was
retrieved from a file.
setConfigurationFile
in class Config
configurationFile
- the configuration file to setpublic String getLicenseKey()
Config
getLicenseKey
in class Config
public Config setLicenseKey(String licenseKey)
Config
setLicenseKey
in class Config
licenseKey
- the license keypublic boolean isLiteMember()
Config
true
if this member is a lite member. A lite member
does not own any partitions.isLiteMember
in class Config
true
if this member is a lite memberpublic Config setLiteMember(boolean liteMember)
Config
setLiteMember
in class Config
liteMember
- if this member is a lite memberpublic UserCodeDeploymentConfig getUserCodeDeploymentConfig()
Config
getUserCodeDeploymentConfig
in class Config
public Config setUserCodeDeploymentConfig(UserCodeDeploymentConfig userCodeDeploymentConfig)
Config
setUserCodeDeploymentConfig
in class Config
userCodeDeploymentConfig
- the user code deployment configurationpublic void setConfigurationService(ConfigurationService configurationService)
public void onSecurityServiceUpdated(SecurityService securityService)
public CPSubsystemConfig getCPSubsystemConfig()
Config
getCPSubsystemConfig
in class Config
public Config setCPSubsystemConfig(CPSubsystemConfig cpSubsystemConfig)
Config
setCPSubsystemConfig
in class Config
cpSubsystemConfig
- the CP subsystem configurationCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.