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
.
MapManagedService
addInterceptor, interceptAfterGet, interceptAfterPut, interceptAfterRemove, interceptGet, interceptPut, interceptRemove, removeInterceptor
addEventListener, addLocalEventListener, addLocalEventListener, hasRegisteredListener, removeEventListener
MapContainer getMapContainer(String mapName)
Map<String,MapContainer> getMapContainers()
PartitionContainer getPartitionContainer(int partitionId)
void initPartitionsContainers()
void clearPartitionData(int partitionId)
String serviceName()
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()
boolean isOwnedKey(Data key)
key
- key to be queried.AtomicInteger getWriteBehindQueueItemCounter()
ExpirationManager getExpirationManager()
EvictionOperator getEvictionOperator()
void setService(MapService mapService)
NodeEngine getNodeEngine()
MergePolicyProvider getMergePolicyProvider()
MapEventPublisher getMapEventPublisher()
MapContextQuerySupport getMapContextQuerySupport()
LocalMapStatsProvider getLocalMapStatsProvider()
long getNow()
Data toData(Object object, PartitioningStrategy partitionStrategy)
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.