From d484e2a6d3219477e155954e68bcabcabcef05e1 Mon Sep 17 00:00:00 2001 From: John Blum Date: Wed, 16 Sep 2020 15:50:34 -0700 Subject: [PATCH] Edit README and list all supported mock Region data access operations in 'Mocking Unsupported Region Operations' section. --- README.adoc | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/README.adoc b/README.adoc index ad2aaec..5e4bfd7 100644 --- a/README.adoc +++ b/README.adoc @@ -513,12 +513,26 @@ You can register a `CacheWriter` along with 1 or more `CacheListeners` and they As stated in the <> section above, only the following Region data access operations are supported by STDG out-of-the-box (OOTB): -* `containsKey(key)`, -* `get(key)`, -* `getEntry(key)`, -* `invalidate(key)`, -* `put(key, value)`, +* `clear()` +* `containsKey(key)` +* `containsValue(value)` +* `containsValueForKey(value)` +* `forEach(:BiConsumer)` +* `get(key)` +* `getAll()` +* `getEntry(key)` +* `getOrDefault(key, defaultValue)` +* `invalidate(key)` +* `isEmpty()` +* `keySet()` +* `localClear()` +* `localValidate()` +* `put(key, value)` +* `putAll(:Map)` +* `remove(key)` +* `removeAll(:Collection)` * `size()` +* `values()` How then do you mock other Region operations (e.g. `putIfAbsent(key, value)`) provided by the Region API that is not supported by STDG OOTB?