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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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
processRemoteRemoveAll()
void
processRemoteReplace(@Nullable String key, @Nullable String oldValue, @Nullable String newValue)
-
-
-
Method Detail
-
processRemotePut
void processRemotePut(@Nullable @Nullable String key, @Nullable @Nullable String value)
-
processRemotePutIfAbsent
void processRemotePutIfAbsent(@Nullable @Nullable String key, @Nullable @Nullable String value)
-
processRemoteRemove
void processRemoteRemove(@Nullable @Nullable String key)
-
processRemoteRemove
void processRemoteRemove(@Nullable @Nullable String key, @Nullable @Nullable String value)
-
processRemoteRemoveAll
void processRemoteRemoveAll()
-
processRemoteReplace
void processRemoteReplace(@Nullable @Nullable String key, @Nullable @Nullable String oldValue, @Nullable @Nullable String newValue)
-
-