Uses of Class
com.hazelcast.config.MapConfig
Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
-
Uses of MapConfig in com.hazelcast.config
Methods in com.hazelcast.config that return MapConfig Modifier and Type Method 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 newQueryCacheConfig
to thisMapConfig
.MapConfig
Config. findMapConfig(String name)
Returns a read-onlyIMap
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 ornull
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. setEntryListenerConfigs(List<EntryListenerConfig> listenerConfigs)
MapConfig
MapConfig. setEventJournalConfig(EventJournalConfig eventJournalConfig)
Sets theEventJournalConfig
for thisMapConfig
MapConfig
MapConfig. setEvictionConfig(EvictionConfig evictionConfig)
Sets theEvictionConfig
instance for eviction configuration for thisIMap
.MapConfig
MapConfig. setHotRestartConfig(HotRestartConfig hotRestartConfig)
Sets theHotRestartConfig
for thisMapConfig
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 configurationMapConfig
MapConfig. setMaxIdleSeconds(int maxIdleSeconds)
Maximum number of seconds for each entry to stay idle in the map.MapConfig
MapConfig. setMergePolicyConfig(MergePolicyConfig mergePolicyConfig)
Sets theMergePolicyConfig
for this map.MapConfig
MapConfig. setMerkleTreeConfig(MerkleTreeConfig merkleTreeConfig)
Sets theMerkleTreeConfig
for thisMapConfig
MapConfig
MapConfig. setMetadataPolicy(MetadataPolicy metadataPolicy)
Sets the metadata policy.MapConfig
MapConfig. setName(String name)
Sets the name of theIMap
MapConfig
MapConfig. setNearCacheConfig(NearCacheConfig nearCacheConfig)
Sets the Near Cache configurationMapConfig
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)
SetsQueryCacheConfig
instances to thisMapConfig
.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. 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.Methods in com.hazelcast.config that return types with arguments of type MapConfig Modifier and Type Method Description Map<String,MapConfig>
Config. getMapConfigs()
Returns the map ofIMap
configurations, mapped by config name.Methods in com.hazelcast.config with parameters of type MapConfig Modifier and Type Method Description Config
Config. addMapConfig(MapConfig mapConfig)
Adds the map configuration.Method parameters in com.hazelcast.config with type arguments of type MapConfig Modifier and Type Method Description Config
Config. setMapConfigs(Map<String,MapConfig> mapConfigs)
Sets the map ofIMap
configurations, mapped by config name.Constructors in com.hazelcast.config with parameters of type MapConfig Constructor Description MapConfig(MapConfig config)