Package org.redisson.api
Interface RJsonStoreRx<K,V>
- Type Parameters:
K
- the type of keyV
- the type of value
- All Superinterfaces:
RExpirableRx
,RObjectRx
JSON Store which stores each entry as key and value. Both are POJO objects.
Value is stored as JSON datatype in Redis.
The implementation is available in Redisson PRO only.
- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single
<Integer> addListener
(ObjectListener listener) Adds object event listenerio.reactivex.rxjava3.core.Single
<Long> arrayAppend
(K key, String path, Object... values) Appends values to array by specified key and JSONPath.arrayAppendMulti
(K key, String path, Object... values) Appends values to arrays by specified key and JSONPath.io.reactivex.rxjava3.core.Single
<Long> arrayIndex
(K key, String path, Object value) Returns index of object in array by specified key and JSONPathio.reactivex.rxjava3.core.Single
<Long> Returns index of object in array by specified key and JSONPath in range betweenstart
(inclusive) andend
(exclusive) indexesarrayIndexMulti
(K key, String path, Object value) Returns index of object in arrays by specified key and JSONPathReturns index of object in arrays by specified key and JSONPath in range betweenstart
(inclusive) andend
(exclusive) indexesio.reactivex.rxjava3.core.Single
<Long> arrayInsert
(K key, String path, Long index, Object... values) Inserts values into array by specified key and JSONPath.arrayInsertMulti
(K key, String path, Long index, Object... values) Inserts values into arrays by specified key and JSONPath.<T> io.reactivex.rxjava3.core.Maybe
<T> arrayPollFirst
(K key, JsonCodec codec, String path) Polls first element of array by specified key and JSONPath.<T> io.reactivex.rxjava3.core.Single
<List<T>> arrayPollFirstMulti
(K key, JsonCodec codec, String path) Polls first element of arrays by specified key and JSONPath.<T> io.reactivex.rxjava3.core.Maybe
<T> arrayPollLast
(K key, JsonCodec codec, String path) Polls last element of array by specified key and JSONPath.<T> io.reactivex.rxjava3.core.Single
<List<T>> arrayPollLastMulti
(K key, JsonCodec codec, String path) Polls last element of arrays by specified key and JSONPath.<T> io.reactivex.rxjava3.core.Maybe
<T> Pops element located at index of array by specified key and JSONPath.<T> io.reactivex.rxjava3.core.Single
<List<T>> arrayPopMulti
(K key, JsonCodec codec, String path, Long index) Pops elements located at index of arrays by specified key and JSONPath.io.reactivex.rxjava3.core.Single
<Long> Returns size of array by specified key and JSONPath.arraySizeMulti
(K key, String path) Returns size of arrays by specified key and JSONPath.io.reactivex.rxjava3.core.Single
<Long> Trims array by specified key and JSONPath in range betweenstart
(inclusive) andend
(inclusive) indexes.arrayTrimMulti
(K key, String path, Long start, Long end) Trims arrays by specified key and JSONPath in range betweenstart
(inclusive) andend
(inclusive) indexes.io.reactivex.rxjava3.core.Single
<Long> Clears json container by specified keys and JSONPath.io.reactivex.rxjava3.core.Single
<Long> Clears json containers by specified keys.io.reactivex.rxjava3.core.Single
<Boolean> Clears value by specified keyio.reactivex.rxjava3.core.Single
<Boolean> compareAndSet
(K key, String path, Object expect, Object update) Atomically sets the value to the given updated value by specified key and JSONPath, only if serialized state of the current value equals to serialized state of the expected value.io.reactivex.rxjava3.core.Single
<Boolean> compareAndSet
(K key, V expect, V update) Atomically sets the value to the given updated value by specified key only if serialized state of the current value equals to serialized state of the expected value.io.reactivex.rxjava3.core.Single
<Boolean> containsKey
(Object key) Returnstrue
if this map contains map entry mapped by specifiedkey
, otherwisefalse
io.reactivex.rxjava3.core.Maybe
<Long> Returns keys amount in JSON container by specified keyio.reactivex.rxjava3.core.Maybe
<Long> Returns keys amount in JSON container specified by key and JSONPathcountKeysMulti
(K key, String path) Returns list of keys amount in JSON containers specified by key and JSONPathio.reactivex.rxjava3.core.Single
<Long> Deletes JSON elements specified by keys and JSONPathio.reactivex.rxjava3.core.Single
<Long> Deletes entries by specified keysio.reactivex.rxjava3.core.Single
<Boolean> Deletes entry by specified keyRetrieves values by specified keys and JSONPath.Retrieves values by specified keys.io.reactivex.rxjava3.core.Maybe
<V> Retrieves value by specified key.<T> io.reactivex.rxjava3.core.Maybe
<T> Gets value by specified key and JSONPathio.reactivex.rxjava3.core.Maybe
<V> getAndClearExpire
(K key) Retrieves current value by specified key and clears expiration date set before.io.reactivex.rxjava3.core.Maybe
<V> getAndDelete
(K key) Retrieves entry value by specified key and removes it.io.reactivex.rxjava3.core.Maybe
<V> getAndExpire
(K key, Duration duration) Retrieves current value by specified key and sets an expiration duration for it.io.reactivex.rxjava3.core.Maybe
<V> getAndExpire
(K key, Instant time) Retrieves current value by specified key and sets an expiration date for it.<T> io.reactivex.rxjava3.core.Maybe
<T> Retrieves current value stored by specified key and JSONPath then replaces it with new value.io.reactivex.rxjava3.core.Maybe
<V> Retrieves current value by specified key and replaces it with new value.io.reactivex.rxjava3.core.Maybe
<V> Retrieves current value by specified key and replaces it with value and defines expirationduration
.getCountDownLatch
(K key) ReturnsRCountDownLatch
instance associated with keygetFairLock
(K key) ReturnsRLock
instance associated with keyReturns list of keys in JSON container by specified keyReturns list of keys in JSON container by specified key and JSONPathgetKeysMulti
(K key, String path) Returns list of keys in JSON containers by specified key and JSONPathReturnsRLock
instance associated with keyReturnsRPermitExpirableSemaphore
instance associated with keygetReadWriteLock
(K key) ReturnsRReadWriteLock
instance associated with keygetSemaphore
(K key) ReturnsRSemaphore
instance associated with keyio.reactivex.rxjava3.core.Single
<JsonType> Returns type of valueio.reactivex.rxjava3.core.Single
<JsonType> Returns type of element specified by key and JSONPath<T extends Number>
io.reactivex.rxjava3.core.Maybe<T> incrementAndGet
(K key, String path, T delta) Increments the current value specified by key and JSONPath.incrementAndGetMulti
(K key, String path, T delta) Increments the current values specified by key and JSONPath.io.reactivex.rxjava3.core.Completable
Merges value into element by the specified key and JSONPath.Read all keys at onceio.reactivex.rxjava3.core.Single
<Long> remainTimeToLive
(K key) Remaining time to live of map entry associated with akey
.io.reactivex.rxjava3.core.Completable
Stores values by specified keys and JSONPath.io.reactivex.rxjava3.core.Completable
Stores values by specified keys.io.reactivex.rxjava3.core.Completable
Stores values by specified keys with defined expiration duration.io.reactivex.rxjava3.core.Completable
Stores value by specified key and JSONPath.io.reactivex.rxjava3.core.Completable
Stores value by specified key.io.reactivex.rxjava3.core.Completable
Stores value by specified key with defined expiration duration.io.reactivex.rxjava3.core.Completable
setAndKeepTTL
(K key, V value) Sets value by specified key and keep existing TTL.io.reactivex.rxjava3.core.Single
<Boolean> setIfAbsent
(K key, String path, Object value) Sets value by specified key and JSONPath only if previous value is empty.io.reactivex.rxjava3.core.Single
<Boolean> setIfAbsent
(K key, V value) Sets value only if entry doesn't exist.io.reactivex.rxjava3.core.Single
<Boolean> setIfAbsent
(K key, V value, Duration duration) Sets value with defined duration only if entry doesn't exist.io.reactivex.rxjava3.core.Single
<Boolean> setIfExists
(K key, String path, Object value) Sets value by specified key and JSONPath only if previous value is non-empty.io.reactivex.rxjava3.core.Single
<Boolean> setIfExists
(K key, V value) Sets value only if entry already exists.io.reactivex.rxjava3.core.Single
<Boolean> setIfExists
(K key, V value, Duration duration) Setsvalue
with expirationduration
only if entry already exists.io.reactivex.rxjava3.core.Single
<Integer> size()
Returns entries amount in storeio.reactivex.rxjava3.core.Single
<Long> sizeInMemory
(K key) Returns size of entry in bytes specified by key.io.reactivex.rxjava3.core.Single
<Long> stringAppend
(K key, String path, Object value) Appends string data to element specified by specified key and JSONPath.stringAppendMulti
(K key, String path, Object value) Appends string data to elements specified by specified key and JSONPath.io.reactivex.rxjava3.core.Maybe
<Long> stringSize
(K key, String path) Returns size of string data by specified key and JSONPathstringSizeMulti
(K key, String path) Returns list of string data size by specified key and JSONPath.io.reactivex.rxjava3.core.Single
<Boolean> Toggle Singlevalue by specified key and JSONPath toggleMulti
(K key, String path) Toggle Singlevalues by specified key and JSONPath Methods inherited from interface org.redisson.api.RExpirableRx
clearExpire, expire, expire, expire, expireAt, expireAt, expireIfGreater, expireIfGreater, expireIfLess, expireIfLess, expireIfNotSet, expireIfNotSet, expireIfSet, expireIfSet, getExpireTime, remainTimeToLive
Methods inherited from interface org.redisson.api.RObjectRx
copy, copy, copy, copyAndReplace, copyAndReplace, delete, dump, getCodec, getIdleTime, getName, isExists, migrate, move, removeListener, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, sizeInMemory, touch, unlink
-
Method Details
-
get
Gets value by specified key and JSONPath- Type Parameters:
T
- the type of object- Parameters:
key
- entry keycodec
- entry value codecpaths
- JSON paths- Returns:
- entry value
-
setIfAbsent
Sets value by specified key and JSONPath only if previous value is empty.- Parameters:
key
- entry keypath
- JSON pathvalue
- entry value- Returns:
true
if successful, orfalse
if value was already set
-
setIfExists
Sets value by specified key and JSONPath only if previous value is non-empty.- Parameters:
key
- entry keypath
- JSON pathvalue
- object- Returns:
true
if successful, orfalse
if element wasn't set
-
compareAndSet
io.reactivex.rxjava3.core.Single<Boolean> compareAndSet(K key, String path, Object expect, Object update) Atomically sets the value to the given updated value by specified key and JSONPath, only if serialized state of the current value equals to serialized state of the expected value.- Parameters:
key
- entry keypath
- JSON pathexpect
- the expected valueupdate
- the new value- Returns:
true
if successful; orfalse
if the actual value was not equal to the expected value.
-
getAndSet
<T> io.reactivex.rxjava3.core.Maybe<T> getAndSet(K key, JsonCodec codec, String path, Object newValue) Retrieves current value stored by specified key and JSONPath then replaces it with new value.- Parameters:
key
- entry keycodec
- entry value codecpath
- JSON pathnewValue
- value to set- Returns:
- previous value
-
set
Stores value by specified key and JSONPath.- Parameters:
key
- entry keypath
- JSON pathvalue
- value to set
-
stringSize
Returns size of string data by specified key and JSONPath- Parameters:
key
- entry keypath
- JSON path- Returns:
- size of string
-
stringSizeMulti
Returns list of string data size by specified key and JSONPath. Compatible only with enhanced syntax starting with '$' character.- Parameters:
key
- entry keypath
- JSON path- Returns:
- list of string data sizes
-
stringAppend
Appends string data to element specified by specified key and JSONPath. Returns new size of string data.- Parameters:
key
- entry keypath
- JSON pathvalue
- data- Returns:
- size of string data
-
stringAppendMulti
Appends string data to elements specified by specified key and JSONPath. Returns new size of string data. Compatible only with enhanced syntax starting with '$' character.- Parameters:
key
- entry keypath
- JSON pathvalue
- data- Returns:
- list of string data sizes
-
arrayAppend
Appends values to array by specified key and JSONPath. Returns new size of array.- Parameters:
key
- entry keypath
- JSON pathvalues
- values to append- Returns:
- size of array
-
arrayAppendMulti
Appends values to arrays by specified key and JSONPath. Returns new size of arrays. Compatible only with enhanced syntax starting with '$' character.- Parameters:
key
- entry keypath
- JSON pathvalues
- values to append- Returns:
- list of arrays size
-
arrayIndex
Returns index of object in array by specified key and JSONPath. -1 means object not found.- Parameters:
key
- entry keypath
- JSON pathvalue
- value to search- Returns:
- index in array
-
arrayIndexMulti
Returns index of object in arrays by specified key and JSONPath. -1 means object not found. Compatible only with enhanced syntax starting with '$' character.- Parameters:
key
- entry keypath
- JSON pathvalue
- value to search- Returns:
- list of index in arrays
-
arrayIndex
io.reactivex.rxjava3.core.Single<Long> arrayIndex(K key, String path, Object value, Long start, Long end) Returns index of object in array by specified key and JSONPath in range betweenstart
(inclusive) andend
(exclusive) indexes. -1 means object not found.- Parameters:
key
- entry keypath
- JSON pathvalue
- value to searchstart
- start index, inclusiveend
- end index, exclusive- Returns:
- index in array
-
arrayIndexMulti
io.reactivex.rxjava3.core.Single<List<Long>> arrayIndexMulti(K key, String path, Object value, Long start, Long end) Returns index of object in arrays by specified key and JSONPath in range betweenstart
(inclusive) andend
(exclusive) indexes. -1 means object not found. Compatible only with enhanced syntax starting with '$' character.- Parameters:
key
- entry keypath
- JSON pathvalue
- value to searchstart
- start index, inclusiveend
- end index, exclusive- Returns:
- list of index in arrays
-
arrayInsert
io.reactivex.rxjava3.core.Single<Long> arrayInsert(K key, String path, Long index, Object... values) Inserts values into array by specified key and JSONPath. Values are inserted at definedindex
.- Parameters:
key
- entry keypath
- JSON pathindex
- array index at which values are insertedvalues
- values to insert- Returns:
- size of array
-
arrayInsertMulti
io.reactivex.rxjava3.core.Single<List<Long>> arrayInsertMulti(K key, String path, Long index, Object... values) Inserts values into arrays by specified key and JSONPath. Values are inserted at definedindex
. Compatible only with enhanced syntax starting with '$' character.- Parameters:
key
- entry keypath
- JSON pathindex
- array index at which values are insertedvalues
- values to insert- Returns:
- list of arrays size
-
arraySize
Returns size of array by specified key and JSONPath.- Parameters:
key
- entry keypath
- JSON path- Returns:
- size of array
-
arraySizeMulti
Returns size of arrays by specified key and JSONPath. Compatible only with enhanced syntax starting with '$' character.- Parameters:
key
- entry keypath
- JSON path- Returns:
- list of arrays size
-
arrayPollLast
Polls last element of array by specified key and JSONPath.- Type Parameters:
T
- the type of object- Parameters:
key
- entry keycodec
- object codecpath
- JSON path- Returns:
- last element
-
arrayPollLastMulti
<T> io.reactivex.rxjava3.core.Single<List<T>> arrayPollLastMulti(K key, JsonCodec codec, String path) Polls last element of arrays by specified key and JSONPath. Compatible only with enhanced syntax starting with '$' character.- Type Parameters:
T
- the type of object- Parameters:
key
- entry keycodec
- object codecpath
- JSON path- Returns:
- list of last elements
-
arrayPollFirst
Polls first element of array by specified key and JSONPath.- Type Parameters:
T
- the type of object- Parameters:
key
- entry keycodec
- object codecpath
- JSON path- Returns:
- first element
-
arrayPollFirstMulti
<T> io.reactivex.rxjava3.core.Single<List<T>> arrayPollFirstMulti(K key, JsonCodec codec, String path) Polls first element of arrays by specified key and JSONPath. Compatible only with enhanced syntax starting with '$' character.- Type Parameters:
T
- the type of object- Parameters:
key
- entry keycodec
- object codecpath
- JSON path- Returns:
- list of first elements
-
arrayPop
Pops element located at index of array by specified key and JSONPath.- Type Parameters:
T
- the type of object- Parameters:
key
- entry keycodec
- object codecpath
- JSON pathindex
- array index- Returns:
- element
-
arrayPopMulti
<T> io.reactivex.rxjava3.core.Single<List<T>> arrayPopMulti(K key, JsonCodec codec, String path, Long index) Pops elements located at index of arrays by specified key and JSONPath. Compatible only with enhanced syntax starting with '$' character.- Type Parameters:
T
- the type of object- Parameters:
key
- entry keycodec
- object codecpath
- JSON pathindex
- array index- Returns:
- list of elements
-
arrayTrim
Trims array by specified key and JSONPath in range betweenstart
(inclusive) andend
(inclusive) indexes.- Parameters:
key
- entry keypath
- JSON pathstart
- start index, inclusiveend
- end index, inclusive- Returns:
- length of array
-
arrayTrimMulti
io.reactivex.rxjava3.core.Single<List<Long>> arrayTrimMulti(K key, String path, Long start, Long end) Trims arrays by specified key and JSONPath in range betweenstart
(inclusive) andend
(inclusive) indexes. Compatible only with enhanced syntax starting with '$' character.- Parameters:
key
- entry keypath
- JSON pathstart
- start index, inclusiveend
- end index, inclusive- Returns:
- length of array
-
clear
Clears value by specified key- Parameters:
key
- entry key- Returns:
true
if successful, orfalse
if entry doesn't exist
-
clear
Clears json containers by specified keys.- Parameters:
keys
- entry keys- Returns:
- number of cleared containers
-
clear
Clears json container by specified keys and JSONPath. Compatible only with enhanced syntax starting with '$' character.- Parameters:
path
- JSON pathkeys
- entry keys- Returns:
- number of cleared containers
-
incrementAndGet
Increments the current value specified by key and JSONPath.- Parameters:
key
- entry keypath
- JSON pathdelta
- increment value- Returns:
- the updated value
-
incrementAndGetMulti
Increments the current values specified by key and JSONPath. Compatible only with enhanced syntax starting with '$' character.- Parameters:
key
- entry keypath
- JSON pathdelta
- increment value- Returns:
- list of updated value
-
merge
Merges value into element by the specified key and JSONPath.- Parameters:
key
- entry keypath
- JSON pathvalue
- value to merge
-
countKeys
Returns keys amount in JSON container by specified key- Parameters:
key
- entry key- Returns:
- keys amount
-
countKeys
Returns keys amount in JSON container specified by key and JSONPath- Parameters:
key
- entry keypath
- JSON path- Returns:
- keys amount
-
countKeysMulti
Returns list of keys amount in JSON containers specified by key and JSONPath- Parameters:
key
- entry keypath
- JSON path- Returns:
- list of keys amount
-
getKeys
Returns list of keys in JSON container by specified key- Returns:
- list of keys
-
getKeys
Returns list of keys in JSON container by specified key and JSONPath- Parameters:
path
- JSON path- Returns:
- list of keys
-
getKeysMulti
Returns list of keys in JSON containers by specified key and JSONPath- Parameters:
path
- JSON path- Returns:
- list of keys
-
toggle
Toggle Singlevalue by specified key and JSONPath - Parameters:
path
- JSON path- Returns:
- new Single
value
-
toggleMulti
Toggle Singlevalues by specified key and JSONPath - Parameters:
path
- JSON path- Returns:
- list of Single
values
-
getType
Returns type of value- Returns:
- type of element
-
getType
Returns type of element specified by key and JSONPath- Parameters:
path
- JSON path- Returns:
- type of element
-
delete
Deletes entry by specified key- Parameters:
key
- entry key- Returns:
true
if successful, orfalse
if entry doesn't exist
-
delete
Deletes entries by specified keys- Parameters:
keys
- entry keys- Returns:
- number of deleted elements
-
delete
Deletes JSON elements specified by keys and JSONPath- Parameters:
path
- JSON pathkeys
- entry keys- Returns:
- number of deleted elements
-
sizeInMemory
Returns size of entry in bytes specified by key.- Parameters:
key
- entry key- Returns:
- entry size
-
get
Retrieves value by specified key.- Parameters:
key
- entry key- Returns:
- element
-
get
Retrieves values by specified keys.- Parameters:
keys
- entry keys- Returns:
- map with entries where value mapped by key
-
get
Retrieves values by specified keys and JSONPath.- Parameters:
path
- JSON pathkeys
- entry keys- Returns:
- map with entries where value mapped by key
-
getAndDelete
Retrieves entry value by specified key and removes it.- Parameters:
key
- entry key- Returns:
- element
-
setIfAbsent
Sets value only if entry doesn't exist.- Parameters:
key
- entry keyvalue
- value to set- Returns:
true
if successful, orfalse
if element was already set
-
setIfAbsent
Sets value with defined duration only if entry doesn't exist.- Parameters:
key
- entry keyvalue
- value to setduration
- expiration duration- Returns:
true
if successful, orfalse
if element was already set
-
setIfExists
Sets value only if entry already exists.- Parameters:
key
- entry keyvalue
- value to set- Returns:
true
if successful, orfalse
if element wasn't set
-
setIfExists
Setsvalue
with expirationduration
only if entry already exists.- Parameters:
key
- entry keyvalue
- value to setduration
- expiration duration- Returns:
true
if successful, orfalse
if element wasn't set
-
compareAndSet
Atomically sets the value to the given updated value by specified key only if serialized state of the current value equals to serialized state of the expected value.- Parameters:
key
- entry keyexpect
- the expected valueupdate
- the new value- Returns:
true
if successful; orfalse
if the actual value was not equal to the expected value.
-
getAndSet
Retrieves current value by specified key and replaces it with new value.- Parameters:
key
- entry keynewValue
- value to set- Returns:
- previous value
-
getAndSet
Retrieves current value by specified key and replaces it with value and defines expirationduration
.- Parameters:
key
- entry keyvalue
- value to setduration
- expiration duration- Returns:
- previous value
-
getAndExpire
Retrieves current value by specified key and sets an expiration duration for it.Requires Redis 6.2.0 and higher.
- Parameters:
key
- entry keyduration
- of object time to live interval- Returns:
- value
-
getAndExpire
Retrieves current value by specified key and sets an expiration date for it.Requires Redis 6.2.0 and higher.
- Parameters:
key
- entry keytime
- of exact object expiration moment- Returns:
- value
-
getAndClearExpire
Retrieves current value by specified key and clears expiration date set before.Requires Redis 6.2.0 and higher.
- Parameters:
key
- entry key- Returns:
- value
-
set
Stores value by specified key.- Parameters:
key
- entry keyvalue
- value to set
-
set
Stores values by specified keys.- Parameters:
entries
- entries to store
-
set
Stores values by specified keys and JSONPath.- Parameters:
path
- JSONPathentries
- entries to store
-
set
Stores value by specified key with defined expiration duration.- Parameters:
key
- entry keyvalue
- value to setduration
- expiration duration
-
set
Stores values by specified keys with defined expiration duration.- Parameters:
entries
- entries to storeduration
- expiration duration
-
setAndKeepTTL
Sets value by specified key and keep existing TTL.Requires Redis 6.0.0 and higher.
- Parameters:
value
- value to set
-
addListener
Adds object event listener- Specified by:
addListener
in interfaceRObjectRx
- Parameters:
listener
- object event listener- Returns:
- listener id
- See Also:
-
remainTimeToLive
Remaining time to live of map entry associated with akey
.- Parameters:
key
- - map key- Returns:
- time in milliseconds -2 if the key does not exist. -1 if the key exists but has no associated expire.
-
containsKey
Returnstrue
if this map contains map entry mapped by specifiedkey
, otherwisefalse
- Parameters:
key
- - map key- Returns:
true
if this map contains map entry mapped by specifiedkey
, otherwisefalse
-
readAllKeySet
Read all keys at once- Returns:
- keys
-
size
io.reactivex.rxjava3.core.Single<Integer> size()Returns entries amount in store- Returns:
- entries amount
-
getCountDownLatch
ReturnsRCountDownLatch
instance associated with key- Parameters:
key
- - map key- Returns:
- countdownlatch
-
getPermitExpirableSemaphore
ReturnsRPermitExpirableSemaphore
instance associated with key- Parameters:
key
- - map key- Returns:
- permitExpirableSemaphore
-
getSemaphore
ReturnsRSemaphore
instance associated with key- Parameters:
key
- - map key- Returns:
- semaphore
-
getFairLock
ReturnsRLock
instance associated with key- Parameters:
key
- - map key- Returns:
- fairlock
-
getReadWriteLock
ReturnsRReadWriteLock
instance associated with key- Parameters:
key
- - map key- Returns:
- readWriteLock
-
getLock
ReturnsRLock
instance associated with key- Parameters:
key
- - map key- Returns:
- lock
-