com.hazelcast.map.impl
Class MapContainer

java.lang.Object
  extended by com.hazelcast.map.impl.MapContainer

public class MapContainer
extends Object

Map container.


Field Summary
protected  MapConfig mapConfig
           
 
Constructor Summary
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.
 
Method Summary
 String addInterceptor(MapInterceptor interceptor)
           
 void addInterceptor(String id, MapInterceptor interceptor)
           
 Record createRecord(Data key, Object value, long ttlMillis, long now)
           
 int getAsyncBackupCount()
           
 int getBackupCount()
           
 IndexService getIndexService()
           
 Map<String,MapInterceptor> getInterceptorMap()
           
 List<MapInterceptor> getInterceptors()
           
 MapConfig getMapConfig()
           
 MapServiceContext getMapServiceContext()
           
 MapStoreContext getMapStoreContext()
           
 long getMaxIdleMillis()
           
 String getName()
           
 SizeEstimator getNearCacheSizeEstimator()
           
 PartitioningStrategy getPartitioningStrategy()
           
 RecordFactory getRecordFactory()
           
 int getTotalBackupCount()
           
 long getTtlMillisFromConfig()
           
 MapMergePolicy getWanMergePolicy()
           
 WanReplicationPublisher getWanReplicationPublisher()
           
 void initWanReplication(NodeEngine nodeEngine)
           
 boolean isNearCacheEnabled()
           
 void removeInterceptor(String id)
           
 void setMapConfig(MapConfig mapConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mapConfig

protected volatile MapConfig mapConfig
Constructor Detail

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.

Method Detail

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.