MapConfig.EvictionPolicy
DEFAULT_BACKUP_COUNT, DEFAULT_EVICTION_PERCENTAGE, DEFAULT_EVICTION_POLICY, DEFAULT_IN_MEMORY_FORMAT, DEFAULT_MAP_MERGE_POLICY, DEFAULT_MAX_IDLE_SECONDS, DEFAULT_MAX_SIZE, DEFAULT_MIN_EVICTION_CHECK_MILLIS, DEFAULT_TTL_SECONDS, MAX_BACKUP_COUNT, MAX_EVICTION_PERCENTAGE, MIN_BACKUP_COUNT, MIN_EVICTION_PERCENTAGE
equals, getAsReadOnly, getAsyncBackupCount, getBackupCount, getEvictionPercentage, getEvictionPolicy, getInMemoryFormat, getMaxIdleSeconds, getMergePolicy, getMinEvictionCheckMillis, getName, getTimeToLiveSeconds, getTotalBackupCount, hashCode, isCompatible, isNearCacheEnabled, isOptimizeQueries, isReadBackupData, isStatisticsEnabled, toString
public MaxSizeConfig getMaxSizeConfig()
getMaxSizeConfig
in class MapConfig
public WanReplicationRef getWanReplicationRef()
getWanReplicationRef
in class MapConfig
public List<EntryListenerConfig> getEntryListenerConfigs()
getEntryListenerConfigs
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()
getNearCacheConfig
in class MapConfig
public MapConfig setInMemoryFormat(InMemoryFormat inMemoryFormat)
MapConfig
setInMemoryFormat
in class MapConfig
inMemoryFormat
- the record type to setpublic MapConfig setBackupCount(int backupCount)
MapConfig
setBackupCount
in class MapConfig
backupCount
- the backupCount to setMapConfig.setAsyncBackupCount(int)
public MapConfig setAsyncBackupCount(int asyncBackupCount)
MapConfig
setAsyncBackupCount
in class MapConfig
asyncBackupCount
- the asyncBackupCount to setMapConfig.setBackupCount(int)
public MapConfig setEvictionPercentage(int evictionPercentage)
MapConfig
setEvictionPercentage
in class MapConfig
evictionPercentage
- the evictionPercentage to setpublic MapConfig setMinEvictionCheckMillis(long checkIfEvictableAfterMillis)
MapConfig
setMinEvictionCheckMillis
in class MapConfig
checkIfEvictableAfterMillis
- time in millis.public 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 to setpublic MapConfig setMaxSizeConfig(MaxSizeConfig maxSizeConfig)
setMaxSizeConfig
in class MapConfig
public MapConfig setEvictionPolicy(MapConfig.EvictionPolicy evictionPolicy)
setEvictionPolicy
in class MapConfig
evictionPolicy
- the evictionPolicy to setpublic MapConfig setMapStoreConfig(MapStoreConfig mapStoreConfig)
MapConfig
setMapStoreConfig
in class MapConfig
mapStoreConfig
- the mapStoreConfig to setpublic MapConfig setNearCacheConfig(NearCacheConfig nearCacheConfig)
setNearCacheConfig
in class MapConfig
public MapConfig setMergePolicy(String mergePolicy)
setMergePolicy
in class MapConfig
public MapConfig setStatisticsEnabled(boolean statisticsEnabled)
setStatisticsEnabled
in class MapConfig
public MapConfig setReadBackupData(boolean readBackupData)
setReadBackupData
in class MapConfig
public MapConfig setWanReplicationRef(WanReplicationRef wanReplicationRef)
setWanReplicationRef
in class MapConfig
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)
setOptimizeQueries
in class MapConfig
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.