com.hazelcast.map.impl
public class MapContainer extends Object
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
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() |
String |
getQuorumName() |
RecordFactory |
getRecordFactory() |
int |
getTotalBackupCount() |
long |
getTtlMillisFromConfig() |
MapMergePolicy |
getWanMergePolicy() |
WanReplicationPublisher |
getWanReplicationPublisher() |
void |
initWanReplication(NodeEngine nodeEngine) |
boolean |
isNearCacheEnabled() |
void |
removeInterceptor(String id) |
void |
setMapConfig(MapConfig mapConfig) |
IFunction<Object,Data> |
toData() |
public MapContainer(String name, MapConfig mapConfig, MapServiceContext mapServiceContext)
PostJoinAwareService.getPostJoinOperation()
Otherwise undesired situations, like deadlocks, may appear.public void initWanReplication(NodeEngine nodeEngine)
public IndexService getIndexService()
public WanReplicationPublisher getWanReplicationPublisher()
public MapMergePolicy getWanMergePolicy()
public void addInterceptor(String id, MapInterceptor interceptor)
public List<MapInterceptor> getInterceptors()
public Map<String,MapInterceptor> getInterceptorMap()
public void removeInterceptor(String id)
public boolean isNearCacheEnabled()
public int getTotalBackupCount()
public int getBackupCount()
public int getAsyncBackupCount()
public PartitioningStrategy getPartitioningStrategy()
public SizeEstimator getNearCacheSizeEstimator()
public RecordFactory getRecordFactory()
public MapServiceContext getMapServiceContext()
public MapStoreContext getMapStoreContext()
public MapConfig getMapConfig()
public void setMapConfig(MapConfig mapConfig)
public long getMaxIdleMillis()
public long getTtlMillisFromConfig()
public String getName()
public String getQuorumName()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.