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 TypeMethodDescriptionvoidgetBulkFromRemote(@Nullable Map<String, String> entriesToPopulate) voidprocessRemotePut(@Nullable String key, @Nullable String value) voidprocessRemotePutIfAbsent(@Nullable String key, @Nullable String value) voidprocessRemoteRemove(@Nullable String key) voidprocessRemoteRemove(@Nullable String key, @Nullable String value) voidvoidprocessRemoteReplace(@Nullable String key, @Nullable String oldValue, @Nullable String newValue)
-
Method Details
-
processRemotePut
-
processRemotePutIfAbsent
-
processRemoteRemove
-
processRemoteRemove
-
processRemoteRemoveAll
void processRemoteRemoveAll() -
processRemoteReplace
-
getBulkFromRemote
-