Interface CacheRemoteAccessor
- All Known Implementing Classes:
GrpcBackedCache
public interface CacheRemoteAccessor
The API for executing common cache operations originating from remote nodes. The scope of responsibility involves
resolving cache keys/values represented as strings (performed as XStream deserialization) and then executing changes on the local cache.
All methods should execute the cache operations only locally and DO NOT propagate any events to other nodes in the cluster.
- Since:
- 9.5.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getBulkFromRemote
(@Nullable Map<String, String> entriesToPopulate) void
processRemotePut
(@Nullable String key, @Nullable String value) void
processRemotePutIfAbsent
(@Nullable String key, @Nullable String value) void
processRemoteRemove
(@Nullable String key) void
processRemoteRemove
(@Nullable String key, @Nullable String value) void
void
processRemoteReplace
(@Nullable String key, @Nullable String oldValue, @Nullable String newValue)
-
Method Details
-
processRemotePut
-
processRemotePutIfAbsent
-
processRemoteRemove
-
processRemoteRemove
-
processRemoteRemoveAll
void processRemoteRemoveAll() -
processRemoteReplace
-
getBulkFromRemote
-