public interface MapServiceContext extends MapServiceContextInterceptorSupport, MapServiceContextEventListenerSupport
RecordStore implementations.
For example all PartitionContainer and MapContainer instances
can also be reached by using this interface.
It is also responsible for providing methods which are used by lower layers of
Hazelcast and exposed on MapService.
MapManagedServiceaddInterceptor, generateInterceptorId, hasInterceptor, interceptAfterGet, interceptAfterPut, interceptAfterRemove, interceptGet, interceptPut, interceptRemove, removeInterceptoraddEventListener, addLocalEventListener, addLocalEventListener, addPartitionLostListener, removeEventListener, removePartitionLostListenerData toData(Object object, PartitioningStrategy partitionStrategy)
MapContainer getMapContainer(String mapName)
Map<String,MapContainer> getMapContainers()
PartitionContainer getPartitionContainer(int partitionId)
void initPartitionsContainers()
void clearPartitionData(int partitionId)
MapService getService()
void clearPartitions()
void destroyMapStores()
void flushMaps()
void destroyMap(String mapName)
void reset()
NearCacheProvider getNearCacheProvider()
RecordStore getRecordStore(int partitionId, String mapName)
RecordStore getExistingRecordStore(int partitionId, String mapName)
Collection<Integer> getOwnedPartitions()
void reloadOwnedPartitions()
AtomicInteger getWriteBehindQueueItemCounter()
ExpirationManager getExpirationManager()
EvictionOperator getEvictionOperator()
void setService(MapService mapService)
NodeEngine getNodeEngine()
MergePolicyProvider getMergePolicyProvider()
MapEventPublisher getMapEventPublisher()
MapContextQuerySupport getMapContextQuerySupport()
LocalMapStatsProvider getLocalMapStatsProvider()
void setEvictionOperator(EvictionOperator evictionOperator)
EvictionOperator to this MapServiceContext.
Used for testing purposes.evictionOperator - EvictionOperator to be set.Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.