public interface NearCacheInvalidator
| Modifier and Type | Method and Description |
|---|---|
void |
clearLocalNearCache(String mapName)
Clears local members near-cache.
|
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.
|
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.
|
void invalidate(String mapName, Data key, String sourceUuid)
mapName - name of the map.key - key of the entry to be removed from near-cache.sourceUuid - caller uuidvoid invalidate(String mapName, List<Data> keys, String sourceUuid)
mapName - name of the map.keys - keys of the entries to be removed from near-cache.sourceUuid - caller uuidvoid clearLocalNearCache(String mapName)
mapName - name of the map.void sendClientNearCacheClearEvent(String mapName, String sourceUuid)
mapName - name of the map.sourceUuid - caller uuidvoid destroy(String mapName)
MapRemoteService.destroyDistributedObject(String)mapName - name of the map.MapRemoteService.destroyDistributedObject(String)void reset()
ManagedService.reset()ManagedService#reset()}void shutdown()
ManagedService.shutdown(boolean)com.hazelcast.spi.ManagedService#shutdown(boolean)}Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.