Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
Modifier and Type | Method and Description |
---|---|
MapConfig |
MapConfig.addAttributeConfig(AttributeConfig attributeConfig) |
MapConfig |
MapConfig.addEntryListenerConfig(EntryListenerConfig listenerConfig) |
MapConfig |
MapConfig.addIndexConfig(IndexConfig indexConfig) |
MapConfig |
MapConfig.addMapPartitionLostListenerConfig(MapPartitionLostListenerConfig listenerConfig) |
MapConfig |
MapConfig.addQueryCacheConfig(QueryCacheConfig queryCacheConfig)
Adds a new
QueryCacheConfig to this MapConfig . |
MapConfig |
Config.findMapConfig(String name)
Returns a read-only
IMap configuration for
the given name. |
MapConfig |
Config.getMapConfig(String name)
Returns the MapConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
MapConfig |
Config.getMapConfigOrNull(String name)
Returns the map config with the given name or
null if there is none. |
MapConfig |
MapConfig.setAsyncBackupCount(int asyncBackupCount)
Sets the number of asynchronous backups.
|
MapConfig |
MapConfig.setAttributeConfigs(List<AttributeConfig> attributeConfigs) |
MapConfig |
MapConfig.setBackupCount(int backupCount)
Number of synchronous backups.
|
MapConfig |
MapConfig.setCacheDeserializedValues(CacheDeserializedValues cacheDeserializedValues)
Configure de-serialized value caching.
|
MapConfig |
MapConfig.setDataPersistenceConfig(DataPersistenceConfig dataPersistenceConfig)
Sets the
DataPersistenceConfig for this MapConfig |
MapConfig |
MapConfig.setEntryListenerConfigs(List<EntryListenerConfig> listenerConfigs) |
MapConfig |
MapConfig.setEventJournalConfig(EventJournalConfig eventJournalConfig)
Sets the
EventJournalConfig for this MapConfig |
MapConfig |
MapConfig.setEvictionConfig(EvictionConfig evictionConfig)
Sets the
EvictionConfig instance for eviction
configuration for this IMap . |
MapConfig |
MapConfig.setHotRestartConfig(HotRestartConfig hotRestartConfig)
Deprecated.
since 5.0 use
setDataPersistenceConfig(DataPersistenceConfig) |
MapConfig |
MapConfig.setIndexConfigs(List<IndexConfig> indexConfigs) |
MapConfig |
MapConfig.setInMemoryFormat(InMemoryFormat inMemoryFormat)
Binary type that will be used for storing records.
|
MapConfig |
MapConfig.setMapStoreConfig(MapStoreConfig mapStoreConfig)
Sets the map store configuration
|
MapConfig |
MapConfig.setMaxIdleSeconds(int maxIdleSeconds)
Maximum number of seconds for each entry to stay idle in the
map.
|
MapConfig |
MapConfig.setMergePolicyConfig(MergePolicyConfig mergePolicyConfig)
Sets the
MergePolicyConfig for this map. |
MapConfig |
MapConfig.setMerkleTreeConfig(MerkleTreeConfig merkleTreeConfig)
Sets the
MerkleTreeConfig for this MapConfig |
MapConfig |
MapConfig.setMetadataPolicy(MetadataPolicy metadataPolicy)
Sets the metadata policy.
|
MapConfig |
MapConfig.setName(String name)
Sets the name of the
IMap |
MapConfig |
MapConfig.setNearCacheConfig(NearCacheConfig nearCacheConfig)
Sets the Near Cache configuration
|
MapConfig |
MapConfig.setPartitioningStrategyConfig(PartitioningStrategyConfig partitioningStrategyConfig) |
MapConfig |
MapConfig.setPartitionLostListenerConfigs(List<MapPartitionLostListenerConfig> listenerConfigs) |
MapConfig |
MapConfig.setPerEntryStatsEnabled(boolean perEntryStatsEnabled)
Set to enable/disable per entry statistics.
|
MapConfig |
MapConfig.setQueryCacheConfigs(List<QueryCacheConfig> queryCacheConfigs)
Sets
QueryCacheConfig instances to this MapConfig . |
MapConfig |
MapConfig.setReadBackupData(boolean readBackupData)
Sets read-backup-data (reading local backup entries) for this map.
|
MapConfig |
MapConfig.setSplitBrainProtectionName(String splitBrainProtectionName) |
MapConfig |
MapConfig.setStatisticsEnabled(boolean statisticsEnabled)
Set to enable/disable map level statistics for this map.
|
MapConfig |
MapConfig.setTieredStoreConfig(TieredStoreConfig tieredStoreConfig)
Sets the
TieredStoreConfig for this MapConfig |
MapConfig |
MapConfig.setTimeToLiveSeconds(int timeToLiveSeconds)
The maximum number of seconds for each entry to stay in the map.
|
MapConfig |
MapConfig.setWanReplicationRef(WanReplicationRef wanReplicationRef)
Sets the WAN target replication reference.
|
Modifier and Type | Method and Description |
---|---|
Map<String,MapConfig> |
Config.getMapConfigs()
Returns the map of
IMap configurations,
mapped by config name. |
Modifier and Type | Method and Description |
---|---|
Config |
Config.addMapConfig(MapConfig mapConfig)
Adds the map configuration.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.setMapConfigs(Map<String,MapConfig> mapConfigs)
Sets the map of
IMap configurations,
mapped by config name. |
Constructor and Description |
---|
MapConfig(MapConfig config) |
Copyright © 2023 Hazelcast, Inc.. All rights reserved.