Uses of Class
com.hazelcast.config.Config
Package
Description
Provides classes for configuring HazelcastInstance.
Provides core API interfaces/classes.
This package contains the OSGI functionality contract points for Hazelcast.
Provides interfaces/classes for Hazelcast security implementation.
Contains the Hazelcast properties implementation.
Contains config factory classes.
-
Uses of Config in com.hazelcast.config
Modifier and TypeClassDescriptionclass
AConfig
which is initialized by loading an XML configuration file from the classpath.class
AConfig
which is initialized by loading a YAML configuration file from the classpath.class
AConfig
which includes functionality for loading itself from a XML configuration file.class
AConfig
which includes functionality for loading itself from a YAML configuration file.class
Creates aConfig
loaded from an in-memory Hazelcast XML String.class
Creates aConfig
loaded from an in-memory Hazelcast YAML String.class
AConfig
which is loaded using some url pointing to a Hazelcast XML file.class
AConfig
which is loaded using some url pointing to a Hazelcast YAML file.Modifier and TypeMethodDescriptionConfig.addCacheConfig
(CacheSimpleConfig cacheConfig) Adds the cache configuration.Config.addCardinalityEstimatorConfig
(CardinalityEstimatorConfig cardinalityEstimatorConfig) Adds the cardinality estimator configuration.Config.addDataConnectionConfig
(DataConnectionConfig dataConnectionConfig) Adds a data connection configuration.Config.addDeviceConfig
(DeviceConfig deviceConfig) Adds the device configuration.Config.addDurableExecutorConfig
(DurableExecutorConfig durableExecutorConfig) Adds the durable executor configuration.Config.addExecutorConfig
(ExecutorConfig executorConfig) Adds the executor configuration.Config.addFlakeIdGeneratorConfig
(FlakeIdGeneratorConfig config) Adds a flake ID generator configuration.Config.addListConfig
(ListConfig listConfig) Adds the list configuration.Config.addListenerConfig
(ListenerConfig listenerConfig) Adds a configuration for anEventListener
.Config.addMapConfig
(MapConfig mapConfig) Adds the map 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.addReliableTopicConfig
(ReliableTopicConfig topicConfig) 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.addSetConfig
(SetConfig setConfig) Adds the set configuration.Config.addSplitBrainProtectionConfig
(SplitBrainProtectionConfig splitBrainProtectionConfig) Adds the split-brain protection configuration.Config.addTopicConfig
(TopicConfig topicConfig) Adds the topic configuration.Config.addWanReplicationConfig
(WanReplicationConfig wanReplicationConfig) Adds the WAN replication config under the name defined byWanReplicationConfig.getName()
.ConfigBuilder.build()
Builds Config object.XmlConfigBuilder.build()
YamlConfigBuilder.build()
static Config
Config.load()
Populates HazelcastConfig
object from an external configuration file.static Config
Config.loadDefault()
Same asload()
, i.e., loads Config using the default lookup mechanismstatic Config
Config.loadDefault
(Properties properties) Loads Config using the defaultlookup mechanism
to locate the configuration file and applies variable resolution from the provided properties.static Config
Config.loadFromClasspath
(ClassLoader classLoader, String resource) Creates a Config which is loaded from a classpath resource.static Config
Config.loadFromClasspath
(ClassLoader classLoader, String resource, Properties properties) Creates a Config which is loaded from a classpath resource.static Config
Config.loadFromFile
(File configFile) Creates a Config based on a the provided configuration file (XML or YAML) and uses the System.properties to resolve variables in the file.static Config
Config.loadFromFile
(File configFile, Properties properties) Creates a Config based on a the provided configuration file (XML or YAML) and uses the System.properties to resolve variables in the file.static Config
Config.loadFromStream
(InputStream source) Creates a Config from the provided stream (XML or YAML content) and uses the System.properties for variable resolution.static Config
Config.loadFromStream
(InputStream source, Properties properties) Creates a Config from the provided stream (XML or YAML content).static Config
Config.loadFromString
(String source) Creates a Config from the provided string (XML or YAML content) and uses the System.properties for variable resolution.static Config
Config.loadFromString
(String source, Properties properties) Creates a Config from the provided string (XML or YAML content).Config.setAdvancedNetworkConfig
(AdvancedNetworkConfig advancedNetworkConfig) Config.setAuditlogConfig
(AuditlogConfig auditlogConfig) Config.setCacheConfigs
(Map<String, CacheSimpleConfig> cacheConfigs) Sets the map of cache 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.Config.setClusterName
(String clusterName) Sets the cluster name uniquely identifying the hazelcast cluster.Config.setConfigPatternMatcher
(ConfigPatternMatcher configPatternMatcher) Sets the pattern matcher which is used to match item names to configuration objects.Config.setConfigurationFile
(File configurationFile) Sets theFile
from which this configuration has been retrieved and created.Config.setConfigurationUrl
(URL configurationUrl) Sets theURL
from which this configuration has been retrieved and created.Config.setCPSubsystemConfig
(CPSubsystemConfig cpSubsystemConfig) Set CP subsystem configurationConfig.setCRDTReplicationConfig
(CRDTReplicationConfig crdtReplicationConfig) Sets the replication configuration forCRDT
implementations.Config.setDataConnectionConfigs
(Map<String, DataConnectionConfig> dataConnectionConfigs) Sets the map of data connection configurations, mapped by config name.Config.setDeviceConfigs
(Map<String, DeviceConfig> deviceConfigs) Sets the map ofDeviceConfig
s mapped by device name.Config.setDurableExecutorConfigs
(Map<String, DurableExecutorConfig> durableExecutorConfigs) Sets the map of durable executor configurations, mapped by config name.Config.setDynamicConfigurationConfig
(DynamicConfigurationConfig dynamicConfigurationConfig) Sets the dynamic configuration config.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 ofFlakeIdGenerator
configurations, mapped by config name.Config.setHotRestartPersistenceConfig
(HotRestartPersistenceConfig hrConfig) Deprecated.Config.setInstanceName
(String instanceName) Sets the instance name uniquely identifying the hazelcast instance created by this configuration.Config.setInstanceTrackingConfig
(InstanceTrackingConfig instanceTrackingConfig) Sets the configuration for tracking use of this Hazelcast instance.Config.setIntegrityCheckerConfig
(IntegrityCheckerConfig integrityCheckerConfig) Sets the Integrity Checker configConfig.setJetConfig
(JetConfig jetConfig) Sets the Jet configConfig.setLicenseKey
(String licenseKey) Sets the license key for this hazelcast instance.Config.setListConfigs
(Map<String, ListConfig> listConfigs) Sets the map ofIList
configurations, mapped by config name.Config.setListenerConfigs
(List<ListenerConfig> listenerConfigs) Sets the list ofEventListener
configurations.Config.setLiteMember
(boolean liteMember) Sets the flag to indicate if this member is a lite member.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 ofIMap
configurations, mapped by config name.Config.setMemberAttributeConfig
(MemberAttributeConfig memberAttributeConfig) Sets the member attribute configuration.Config.setMetricsConfig
(MetricsConfig metricsConfig) Sets the metrics collection config.Config.setMultiMapConfigs
(Map<String, MultiMapConfig> multiMapConfigs) Sets the map ofMultiMap
configurations, mapped by config name.Config.setNamespacesConfig
(UserCodeNamespacesConfig userCodeNamespacesConfig) Sets the namespaces configuration.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.setPersistenceConfig
(PersistenceConfig persistenceConfig) Sets the Persistence configuration.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 ofIQueue
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 ofReplicatedMap
configurations, mapped by config name.Config.setRestConfig
(RestConfig restConfig) Sets the configuration for the REST API server.Config.setRingbufferConfigs
(Map<String, RingbufferConfig> ringbufferConfigs) Sets the map ofRingbuffer
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.setSerializationConfig
(SerializationConfig serializationConfig) Sets the serialization configuration for this hazelcast instance.Config.setSetConfigs
(Map<String, SetConfig> setConfigs) Sets the map ofISet
configurations, mapped by config name.Config.setSplitBrainProtectionConfigs
(Map<String, SplitBrainProtectionConfig> splitBrainProtectionConfigs) Sets the map of split-brain protection configurations, mapped by config name.Config.setSqlConfig
(SqlConfig sqlConfig) Sets SQL config.Config.setTopicConfigs
(Map<String, TopicConfig> topicConfigs) Sets the map ofITopic
configurations, mapped by config name.Config.setTpcConfig
(TpcConfig tpcConfig) Sets the TpcConfig.Config.setUserCodeDeploymentConfig
(UserCodeDeploymentConfig userCodeDeploymentConfig) Set User Code Deployment configurationConfig.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.Modifier and TypeMethodDescriptionGenerates the XML string based on some Config.static NetworkConfig
ConfigAccessor.getActiveMemberNetworkConfig
(Config config) static com.hazelcast.internal.config.ServicesConfig
ConfigAccessor.getServicesConfig
(Config config) static boolean
ConfigAccessor.isInstanceTrackingEnabledSet
(Config config) static void
ConfigXmlGenerator.namespaceConfigurations
(ConfigXmlGenerator.XmlGenerator gen, Config config) static void
ConfigXmlGenerator.namespacesConfiguration
(ConfigXmlGenerator.XmlGenerator gen, Config config) -
Uses of Config in com.hazelcast.core
Modifier and TypeMethodDescriptionHazelcastInstance.getConfig()
Returns the configuration of this Hazelcast instance.Modifier and TypeMethodDescriptionstatic HazelcastInstance
Hazelcast.getOrCreateHazelcastInstance
(Config config) Gets or creates the HazelcastInstance with a certain name.static HazelcastInstance
Hazelcast.newHazelcastInstance
(Config config) Creates a new HazelcastInstance (a new node in a cluster). -
Uses of Config in com.hazelcast.osgi
Modifier and TypeMethodDescriptionHazelcastOSGiService.newHazelcastInstance
(Config config) Creates a newHazelcastOSGiInstance
on the owner bundle with specified configuration. -
Uses of Config in com.hazelcast.security
Modifier and TypeMethodDescriptionvoid
IPermissionPolicy.configure
(Config config, Properties properties) ConfiguresIPermissionPolicy
. -
Uses of Config in com.hazelcast.spi.properties
ModifierConstructorDescriptionHazelcastProperties
(Config config) Creates a container with configured Hazelcast properties. -
Uses of Config in com.hazelcast.spring.config
setPersistenceConfig(PersistenceConfig)