com.hazelcast.map.impl
Class MapContainer
java.lang.Object
com.hazelcast.map.impl.MapContainer
public class MapContainer
- extends Object
Map container.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mapConfig
protected volatile MapConfig mapConfig
MapContainer
public MapContainer(String name,
MapConfig mapConfig,
MapServiceContext mapServiceContext)
- Operations which are done in this constructor should obey the rules defined
in the method comment
PostJoinAwareService.getPostJoinOperation()
Otherwise undesired situations, like deadlocks, may appear.
initWanReplication
public void initWanReplication(NodeEngine nodeEngine)
getIndexService
public IndexService getIndexService()
getWanReplicationPublisher
public WanReplicationPublisher getWanReplicationPublisher()
getWanMergePolicy
public MapMergePolicy getWanMergePolicy()
addInterceptor
public String addInterceptor(MapInterceptor interceptor)
addInterceptor
public void addInterceptor(String id,
MapInterceptor interceptor)
getInterceptors
public List<MapInterceptor> getInterceptors()
getInterceptorMap
public Map<String,MapInterceptor> getInterceptorMap()
removeInterceptor
public void removeInterceptor(String id)
createRecord
public Record createRecord(Data key,
Object value,
long ttlMillis,
long now)
isNearCacheEnabled
public boolean isNearCacheEnabled()
getTotalBackupCount
public int getTotalBackupCount()
getBackupCount
public int getBackupCount()
getAsyncBackupCount
public int getAsyncBackupCount()
getPartitioningStrategy
public PartitioningStrategy getPartitioningStrategy()
getNearCacheSizeEstimator
public SizeEstimator getNearCacheSizeEstimator()
getRecordFactory
public RecordFactory getRecordFactory()
getMapServiceContext
public MapServiceContext getMapServiceContext()
getMapStoreContext
public MapStoreContext getMapStoreContext()
getMapConfig
public MapConfig getMapConfig()
setMapConfig
public void setMapConfig(MapConfig mapConfig)
getMaxIdleMillis
public long getMaxIdleMillis()
getTtlMillisFromConfig
public long getTtlMillisFromConfig()
getName
public String getName()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.