public class MapNearCacheManager extends DefaultNearCacheManager
Modifier and Type | Field and Description |
---|---|
protected Invalidator |
invalidator |
protected MapServiceContext |
mapServiceContext |
protected NodeEngine |
nodeEngine |
protected int |
partitionCount |
protected MinimalPartitionService |
partitionService |
protected RepairingTask |
repairingTask |
classLoader, properties, scheduler, serializationService
Constructor and Description |
---|
MapNearCacheManager(MapServiceContext mapServiceContext) |
Modifier and Type | Method and Description |
---|---|
void |
deregisterRepairingHandler(String name) |
boolean |
destroyNearCache(String mapName)
Destroys
NearCache instance associated with given name and also removes it. |
Invalidator |
getInvalidator() |
RepairingTask |
getRepairingTask() |
RepairingHandler |
newRepairingHandler(String name,
NearCache nearCache) |
void |
reset() |
void |
shutdown() |
clearAllNearCaches, clearNearCache, createNearCache, destroyAllNearCaches, getClassLoader, getNearCache, getOrCreateNearCache, getOrCreateNearCache, getScheduler, getSerializationService, listAllNearCaches
protected final int partitionCount
protected final NodeEngine nodeEngine
protected final MapServiceContext mapServiceContext
protected final MinimalPartitionService partitionService
protected final Invalidator invalidator
protected final RepairingTask repairingTask
public MapNearCacheManager(MapServiceContext mapServiceContext)
public void reset()
MapManagedService.reset()
public void shutdown()
MapManagedService.shutdown(boolean)
public boolean destroyNearCache(String mapName)
NearCacheManager
NearCache
instance associated with given name
and also removes it.destroyNearCache
in interface NearCacheManager
destroyNearCache
in class DefaultNearCacheManager
mapName
- name of the NearCache
to be destroyedtrue
if NearCache
was found and destroyed, false
otherwiseMapRemoteService.destroyDistributedObject(String)
public Invalidator getInvalidator()
public RepairingHandler newRepairingHandler(String name, NearCache nearCache)
public void deregisterRepairingHandler(String name)
public RepairingTask getRepairingTask()
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.