Interface CacheRemoteAccessor
-
- All Known Implementing Classes:
GrpcBackedCache
public interface CacheRemoteAccessorThe 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 voidgetBulkFromRemote(@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)voidprocessRemoteRemoveAll()voidprocessRemoteReplace(@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)
-
-