Uses of Class
com.hazelcast.config.Config
Packages that use 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
Subclasses of Config in com.hazelcast.configModifier and TypeClassDescriptionclassAConfigwhich is initialized by loading an XML configuration file from the classpath.classAConfigwhich is initialized by loading a YAML configuration file from the classpath.classAConfigwhich includes functionality for loading itself from a XML configuration file.classAConfigwhich includes functionality for loading itself from a YAML configuration file.classCreates aConfigloaded from an in-memory Hazelcast XML String.classCreates aConfigloaded from an in-memory Hazelcast YAML String.classAConfigwhich is loaded using some url pointing to a Hazelcast XML file.classAConfigwhich is loaded using some url pointing to a Hazelcast YAML file.Methods in com.hazelcast.config that return ConfigModifier 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 ConfigConfig.load()Populates HazelcastConfigobject from an external configuration file.static ConfigConfig.loadDefault()Same asload(), i.e., loads Config using the default lookup mechanismstatic ConfigConfig.loadDefault(Properties properties) Loads Config using the defaultlookup mechanismto locate the configuration file and applies variable resolution from the provided properties.static ConfigConfig.loadFromClasspath(ClassLoader classLoader, String resource) Creates a Config which is loaded from a classpath resource.static ConfigConfig.loadFromClasspath(ClassLoader classLoader, String resource, Properties properties) Creates a Config which is loaded from a classpath resource.static ConfigConfig.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 ConfigConfig.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 ConfigConfig.loadFromStream(InputStream source) Creates a Config from the provided stream (XML or YAML content) and uses the System.properties for variable resolution.static ConfigConfig.loadFromStream(InputStream source, Properties properties) Creates a Config from the provided stream (XML or YAML content).static ConfigConfig.loadFromString(String source) Creates a Config from the provided string (XML or YAML content) and uses the System.properties for variable resolution.static ConfigConfig.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 theFilefrom which this configuration has been retrieved and created.Config.setConfigurationUrl(URL configurationUrl) Sets theURLfrom which this configuration has been retrieved and created.Config.setCPSubsystemConfig(CPSubsystemConfig cpSubsystemConfig) Set CP subsystem configurationConfig.setCRDTReplicationConfig(CRDTReplicationConfig crdtReplicationConfig) Sets the replication configuration forCRDTimplementations.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 ofDeviceConfigs 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 ofFlakeIdGeneratorconfigurations, 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 ofIListconfigurations, mapped by config name.Config.setListenerConfigs(List<ListenerConfig> listenerConfigs) Sets the list ofEventListenerconfigurations.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 ofIMapconfigurations, 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 ofMultiMapconfigurations, 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 ofIQueueconfigurations, 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 ofReplicatedMapconfigurations, 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 ofRingbufferconfigurations, 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 ofISetconfigurations, 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 ofITopicconfigurations, 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.Methods in com.hazelcast.config with parameters of type ConfigModifier and TypeMethodDescriptionGenerates the XML string based on some Config.static NetworkConfigConfigAccessor.getActiveMemberNetworkConfig(Config config) static com.hazelcast.internal.config.ServicesConfigConfigAccessor.getServicesConfig(Config config) static booleanConfigAccessor.isInstanceTrackingEnabledSet(Config config) static voidConfigXmlGenerator.namespaceConfigurations(ConfigXmlGenerator.XmlGenerator gen, Config config) static voidConfigXmlGenerator.namespacesConfiguration(ConfigXmlGenerator.XmlGenerator gen, Config config) -
Uses of Config in com.hazelcast.core
Methods in com.hazelcast.core that return ConfigModifier and TypeMethodDescriptionHazelcastInstance.getConfig()Returns the configuration of this Hazelcast instance.Methods in com.hazelcast.core with parameters of type ConfigModifier and TypeMethodDescriptionstatic HazelcastInstanceHazelcast.getOrCreateHazelcastInstance(Config config) Gets or creates the HazelcastInstance with a certain name.static HazelcastInstanceHazelcast.newHazelcastInstance(Config config) Creates a new HazelcastInstance (a new node in a cluster). -
Uses of Config in com.hazelcast.osgi
Methods in com.hazelcast.osgi with parameters of type ConfigModifier and TypeMethodDescriptionHazelcastOSGiService.newHazelcastInstance(Config config) Creates a newHazelcastOSGiInstanceon the owner bundle with specified configuration. -
Uses of Config in com.hazelcast.security
Methods in com.hazelcast.security with parameters of type ConfigModifier and TypeMethodDescriptionvoidIPermissionPolicy.configure(Config config, Properties properties) ConfiguresIPermissionPolicy. -
Uses of Config in com.hazelcast.spi.properties
Methods in com.hazelcast.spi.properties that return ConfigConstructors in com.hazelcast.spi.properties with parameters of type ConfigModifierConstructorDescriptionHazelcastProperties(Config config) Creates a container with configured Hazelcast properties. -
Uses of Config in com.hazelcast.spring.config
Methods in com.hazelcast.spring.config that return Config
setPersistenceConfig(PersistenceConfig)