DEFAULT_BACKUP_COUNT, DEFAULT_CACHED_DESERIALIZED_VALUES, DEFAULT_EVICTION_PERCENTAGE, DEFAULT_EVICTION_POLICY, DEFAULT_IN_MEMORY_FORMAT, DEFAULT_MAP_MERGE_POLICY, DEFAULT_MAX_IDLE_SECONDS, DEFAULT_MIN_EVICTION_CHECK_MILLIS, DEFAULT_TTL_SECONDS, MAX_BACKUP_COUNT, MAX_EVICTION_PERCENTAGE, MIN_BACKUP_COUNT, MIN_EVICTION_PERCENTAGE
Modifier and Type | Method and Description |
---|---|
MapConfig |
addEntryListenerConfig(EntryListenerConfig listenerConfig)
Deprecated.
|
MapConfig |
addMapIndexConfig(MapIndexConfig mapIndexConfig)
Deprecated.
|
List<EntryListenerConfig> |
getEntryListenerConfigs()
Deprecated.
|
List<MapIndexConfig> |
getMapIndexConfigs()
Deprecated.
|
MapStoreConfig |
getMapStoreConfig()
Deprecated.
Returns the map store configuration
|
MaxSizeConfig |
getMaxSizeConfig()
Deprecated.
|
NearCacheConfig |
getNearCacheConfig()
Deprecated.
Returns the near cache configuration
|
PartitioningStrategyConfig |
getPartitioningStrategyConfig()
Deprecated.
|
List<MapPartitionLostListenerConfig> |
getPartitionLostListenerConfigs()
Deprecated.
|
List<QueryCacheConfig> |
getQueryCacheConfigs()
Deprecated.
Returns all
QueryCacheConfig instances defined on this MapConfig |
WanReplicationRef |
getWanReplicationRef()
Deprecated.
Gets the Wan target replication reference.
|
MapConfig |
setAsyncBackupCount(int asyncBackupCount)
Deprecated.
Sets the number of asynchronous backups.
|
MapConfig |
setBackupCount(int backupCount)
Deprecated.
Number of synchronous backups.
|
MapConfig |
setEntryListenerConfigs(List<EntryListenerConfig> listenerConfigs)
Deprecated.
|
MapConfig |
setEvictionPercentage(int evictionPercentage)
Deprecated.
When maximum size is reached, the specified percentage of the map will be evicted.
|
MapConfig |
setEvictionPolicy(EvictionPolicy evictionPolicy)
Deprecated.
Sets the evictionPolicy
|
MapConfig |
setHotRestartConfig(HotRestartConfig hotRestartConfig)
Deprecated.
Sets the
HotRestartConfig for this MapConfig |
MapConfig |
setInMemoryFormat(InMemoryFormat inMemoryFormat)
Deprecated.
Binary type that will be used for storing records.
|
MapConfig |
setMapEvictionPolicy(MapEvictionPolicy mapEvictionPolicy)
Deprecated.
Sets custom eviction policy implementation for this map.
|
MapConfig |
setMapIndexConfigs(List<MapIndexConfig> mapIndexConfigs)
Deprecated.
|
MapConfig |
setMapStoreConfig(MapStoreConfig mapStoreConfig)
Deprecated.
Sets the map store configuration
|
MapConfig |
setMaxIdleSeconds(int maxIdleSeconds)
Deprecated.
Maximum number of seconds for each entry to stay idle in the map.
|
MapConfig |
setMaxSizeConfig(MaxSizeConfig maxSizeConfig)
Deprecated.
|
MapConfig |
setMergePolicy(String mergePolicy)
Deprecated.
Sets the map merge policy
MapMergePolicy |
MapConfig |
setMinEvictionCheckMillis(long checkIfEvictableAfterMillis)
Deprecated.
Sets the minimum time in milliseconds which should pass before asking if a partition of this map is evictable or not.
|
MapConfig |
setName(String name)
Deprecated.
Sets the name of the
IMap |
MapConfig |
setNearCacheConfig(NearCacheConfig nearCacheConfig)
Deprecated.
Sets the near cache configuration
|
MapConfig |
setOptimizeQueries(boolean optimizeQueries)
Deprecated.
Enable de-serialized value caching when evaluating predicates.
|
MapConfig |
setPartitioningStrategyConfig(PartitioningStrategyConfig partitioningStrategyConfig)
Deprecated.
|
MapConfig |
setReadBackupData(boolean readBackupData)
Deprecated.
Sets read-backup-data (reading local backup entires) for this map.
|
MapConfig |
setStatisticsEnabled(boolean statisticsEnabled)
Deprecated.
Sets statistics to enabled or disabled for this map.
|
MapConfig |
setTimeToLiveSeconds(int timeToLiveSeconds)
Deprecated.
The maximum number of seconds for each entry to stay in the map.
|
MapConfig |
setWanReplicationRef(WanReplicationRef wanReplicationRef)
Deprecated.
Sets the Wan target replication reference.
|
addMapAttributeConfig, addMapPartitionLostListenerConfig, addQueryCacheConfig, equals, getAsReadOnly, getAsyncBackupCount, getBackupCount, getCacheDeserializedValues, getEvictionPercentage, getEvictionPolicy, getHotRestartConfig, getInMemoryFormat, getMapAttributeConfigs, getMapEvictionPolicy, getMaxIdleSeconds, getMergePolicy, getMinEvictionCheckMillis, getName, getQuorumName, getTimeToLiveSeconds, getTotalBackupCount, hashCode, isCompatible, isNearCacheEnabled, isOptimizeQueries, isReadBackupData, isStatisticsEnabled, setCacheDeserializedValues, setMapAttributeConfigs, setPartitionLostListenerConfigs, setQueryCacheConfigs, setQuorumName, toString
public MaxSizeConfig getMaxSizeConfig()
getMaxSizeConfig
in class MapConfig
public WanReplicationRef getWanReplicationRef()
MapConfig
getWanReplicationRef
in class MapConfig
public List<EntryListenerConfig> getEntryListenerConfigs()
getEntryListenerConfigs
in class MapConfig
public List<MapPartitionLostListenerConfig> getPartitionLostListenerConfigs()
getPartitionLostListenerConfigs
in class MapConfig
public List<MapIndexConfig> getMapIndexConfigs()
getMapIndexConfigs
in class MapConfig
public PartitioningStrategyConfig getPartitioningStrategyConfig()
getPartitioningStrategyConfig
in class MapConfig
public MapStoreConfig getMapStoreConfig()
MapConfig
getMapStoreConfig
in class MapConfig
public NearCacheConfig getNearCacheConfig()
MapConfig
getNearCacheConfig
in class MapConfig
public List<QueryCacheConfig> getQueryCacheConfigs()
MapConfig
QueryCacheConfig
instances defined on this MapConfig
getQueryCacheConfigs
in class MapConfig
QueryCacheConfig
instances defined on this MapConfig
public MapConfig setHotRestartConfig(HotRestartConfig hotRestartConfig)
MapConfig
HotRestartConfig
for this MapConfig
setHotRestartConfig
in class MapConfig
hotRestartConfig
- hot restart configMapConfig
instancepublic MapConfig setName(String name)
MapConfig
IMap
public MapConfig setInMemoryFormat(InMemoryFormat inMemoryFormat)
MapConfig
setInMemoryFormat
in class MapConfig
inMemoryFormat
- the record type to set for this IMap
public MapConfig setBackupCount(int backupCount)
MapConfig
setBackupCount
in class MapConfig
backupCount
- the number of synchronous backups to set for this IMap
MapConfig.setAsyncBackupCount(int)
public MapConfig setAsyncBackupCount(int asyncBackupCount)
MapConfig
setAsyncBackupCount
in class MapConfig
asyncBackupCount
- the number of asynchronous synchronous backups to setMapConfig.setBackupCount(int)
,
MapConfig.getAsyncBackupCount()
public MapConfig setEvictionPercentage(int evictionPercentage)
MapConfig
setEvictionPercentage
in class MapConfig
evictionPercentage
- the evictionPercentage to set: the specified percentage of the map to be evictedpublic MapConfig setMinEvictionCheckMillis(long checkIfEvictableAfterMillis)
MapConfig
setMinEvictionCheckMillis
in class MapConfig
checkIfEvictableAfterMillis
- time in milliseconds that should pass before asking for the next evictionpublic MapConfig setTimeToLiveSeconds(int timeToLiveSeconds)
MapConfig
setTimeToLiveSeconds
in class MapConfig
timeToLiveSeconds
- the timeToLiveSeconds to setpublic MapConfig setMaxIdleSeconds(int maxIdleSeconds)
MapConfig
setMaxIdleSeconds
in class MapConfig
maxIdleSeconds
- the maxIdleSeconds (the maximum number of seconds for each entry to stay idle in the map) to setpublic MapConfig setMaxSizeConfig(MaxSizeConfig maxSizeConfig)
setMaxSizeConfig
in class MapConfig
public MapConfig setEvictionPolicy(EvictionPolicy evictionPolicy)
MapConfig
setEvictionPolicy
in class MapConfig
evictionPolicy
- the evictionPolicy to setpublic MapConfig setMapEvictionPolicy(MapEvictionPolicy mapEvictionPolicy)
MapConfig
setMapEvictionPolicy
in class MapConfig
mapEvictionPolicy
- custom eviction policy implementationpublic MapConfig setMapStoreConfig(MapStoreConfig mapStoreConfig)
MapConfig
setMapStoreConfig
in class MapConfig
mapStoreConfig
- the mapStoreConfig (map store configuration) to setpublic MapConfig setNearCacheConfig(NearCacheConfig nearCacheConfig)
MapConfig
setNearCacheConfig
in class MapConfig
nearCacheConfig
- the near cache configurationpublic MapConfig setMergePolicy(String mergePolicy)
MapConfig
MapMergePolicy
setMergePolicy
in class MapConfig
mergePolicy
- the map merge policy to setpublic MapConfig setStatisticsEnabled(boolean statisticsEnabled)
MapConfig
setStatisticsEnabled
in class MapConfig
statisticsEnabled
- True to enable map statistics, false to disable.public MapConfig setReadBackupData(boolean readBackupData)
MapConfig
setReadBackupData
in class MapConfig
readBackupData
- True to enable read-backup-data, false to disable.public MapConfig setWanReplicationRef(WanReplicationRef wanReplicationRef)
MapConfig
setWanReplicationRef
in class MapConfig
wanReplicationRef
- the Wan target replication reference.public MapConfig addEntryListenerConfig(EntryListenerConfig listenerConfig)
addEntryListenerConfig
in class MapConfig
public MapConfig setEntryListenerConfigs(List<EntryListenerConfig> listenerConfigs)
setEntryListenerConfigs
in class MapConfig
public MapConfig addMapIndexConfig(MapIndexConfig mapIndexConfig)
addMapIndexConfig
in class MapConfig
public MapConfig setMapIndexConfigs(List<MapIndexConfig> mapIndexConfigs)
setMapIndexConfigs
in class MapConfig
public MapConfig setPartitioningStrategyConfig(PartitioningStrategyConfig partitioningStrategyConfig)
setPartitioningStrategyConfig
in class MapConfig
public MapConfig setOptimizeQueries(boolean optimizeQueries)
MapConfig
InMemoryFormat
is InMemoryFormat.OBJECT
or when Portable
serialization is used.setOptimizeQueries
in class MapConfig
MapConfig
instance.CacheDeserializedValues}
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.