public class NonStopInvalidator extends AbstractNearCacheInvalidator
clusterService, eventService, mapServiceContext, nearCacheProvider, nodeEngine, operationService| Constructor and Description |
|---|
NonStopInvalidator(MapServiceContext mapServiceContext,
NearCacheProvider nearCacheProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy(String mapName)
Removes supplied maps invalidation queue and flushes its content.
|
void |
invalidate(String mapName,
Data key,
String sourceUuid)
Invalidates local and remote near-caches.
|
void |
invalidate(String mapName,
List<Data> keys,
String sourceUuid)
Invalidates local and remote near-caches.
|
protected void |
invalidateClient(String mapName,
Data key,
List<Data> keys,
String sourceUuid) |
protected void |
invalidateMember(String mapName,
Data key,
List<Data> keys,
String sourceUuid) |
void |
reset()
Resets this invalidator back to its initial state.
|
void |
sendClientNearCacheClearEvent(String mapName,
String sourceUuid)
Send clear event to client-side near-cache invalidation listeners.
|
void |
shutdown()
Shuts down this invalidator and releases used resources.
|
clearLocalNearCache, createSingleOrBatchInvalidationOperation, getOrderKey, hasInvalidationListener, invalidateLocal, isMemberNearCacheInvalidationEnabled, toHeapDatapublic NonStopInvalidator(MapServiceContext mapServiceContext, NearCacheProvider nearCacheProvider)
public void invalidate(String mapName, Data key, String sourceUuid)
NearCacheInvalidatormapName - name of the map.key - key of the entry to be removed from near-cache.sourceUuid - caller uuidpublic void invalidate(String mapName, List<Data> keys, String sourceUuid)
NearCacheInvalidatormapName - name of the map.keys - keys of the entries to be removed from near-cache.sourceUuid - caller uuidpublic void sendClientNearCacheClearEvent(String mapName, String sourceUuid)
NearCacheInvalidatormapName - name of the map.sourceUuid - caller uuidpublic void destroy(String mapName)
NearCacheInvalidatorMapRemoteService.destroyDistributedObject(String)mapName - name of the map.MapRemoteService.destroyDistributedObject(String)public void reset()
NearCacheInvalidatorManagedService.reset()ManagedService#reset()}public void shutdown()
NearCacheInvalidatorManagedService.shutdown(boolean)com.hazelcast.spi.ManagedService#shutdown(boolean)}protected void invalidateClient(String mapName, Data key, List<Data> keys, String sourceUuid)
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.