Package org.redisson.api
Interface RClientSideCaching
- All Superinterfaces:
RDestroyable
- All Known Implementing Classes:
RedissonClientSideCaching
- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescription<V> RBlockingDeque
<V> getBlockingDeque
(String name) Returns unbounded blocking deque instance by name.<V> RBlockingDeque
<V> getBlockingDeque
(String name, Codec codec) Returns unbounded blocking deque instance by name using provided codec for deque objects.<V> RBlockingQueue
<V> getBlockingQueue
(String name) Returns unbounded blocking queue instance by name.<V> RBlockingQueue
<V> getBlockingQueue
(String name, Codec codec) Returns unbounded blocking queue instance by name using provided codec for queue objects.<V> RBucket
<V> Returns object holder instance by name.<V> RBucket
<V> Returns object holder instance by name using provided codec for object.<V> RDeque
<V> Returns unbounded deque instance by name.<V> RDeque
<V> Returns unbounded deque instance by name using provided codec for deque objects.<V> RGeo
<V> Returns geospatial items holder instance byname
.<V> RGeo
<V> Returns geospatial items holder instance byname
using provided codec for geospatial members.<V> RList
<V> Returns list instance by name.<V> RList
<V> Returns list instance by name using provided codec for list objects.<K,
V> RMap <K, V> Returns map instance by name.<K,
V> RMap <K, V> Returns map instance by name using provided codec for both map keys and values.<V> RQueue
<V> Returns unbounded queue instance by name.<V> RQueue
<V> Returns unbounded queue instance by name using provided codec for queue objects.<V> RScoredSortedSet
<V> getScoredSortedSet
(String name) Returns Redis Sorted Set instance by name.<V> RScoredSortedSet
<V> getScoredSortedSet
(String name, Codec codec) Returns Redis Sorted Set instance by name using provided codec for sorted set objects.<V> RSet
<V> Returns set instance by name.<V> RSet
<V> Returns set instance by name using provided codec for set objects.<K,
V> RStream <K, V> Returns stream instance byname
<K,
V> RStream <K, V> Returns stream instance byname
using providedcodec
for entries.Methods inherited from interface org.redisson.api.RDestroyable
destroy
-
Method Details
-
getBucket
Returns object holder instance by name.- Type Parameters:
V
- type of value- Parameters:
name
- name of object- Returns:
- Bucket object
-
getBucket
Returns object holder instance by name using provided codec for object.- Type Parameters:
V
- type of value- Parameters:
name
- name of objectcodec
- codec for values- Returns:
- Bucket object
-
getStream
Returns stream instance byname
Requires Redis 5.0.0 and higher.
- Type Parameters:
K
- type of keyV
- type of value- Parameters:
name
- of stream- Returns:
- RStream object
-
getStream
Returns stream instance byname
using providedcodec
for entries.Requires Redis 5.0.0 and higher.
- Type Parameters:
K
- type of keyV
- type of value- Parameters:
name
- name of streamcodec
- codec for entry- Returns:
- RStream object
-
getSet
Returns set instance by name.- Type Parameters:
V
- type of value- Parameters:
name
- name of object- Returns:
- Set object
-
getSet
Returns set instance by name using provided codec for set objects.- Type Parameters:
V
- type of value- Parameters:
name
- name of objectcodec
- codec for values- Returns:
- Set object
-
getMap
Returns map instance by name.NOTE: client side caching feature invalidates whole Map per entry change which is ineffective. Use local cached Map, JSON Store instead.
- Type Parameters:
K
- type of keyV
- type of value- Parameters:
name
- name of object- Returns:
- Map object
-
getMap
Returns map instance by name using provided codec for both map keys and values.NOTE: client side caching feature invalidates whole Map per entry change which is ineffective. Use local cached Map, JSON Store instead.
- Type Parameters:
K
- type of keyV
- type of value- Parameters:
name
- name of objectcodec
- codec for keys and values- Returns:
- Map object
-
getScoredSortedSet
Returns Redis Sorted Set instance by name. This sorted set sorts objects by object score.- Type Parameters:
V
- type of value- Parameters:
name
- name of object- Returns:
- ScoredSortedSet object
-
getScoredSortedSet
Returns Redis Sorted Set instance by name using provided codec for sorted set objects. This sorted set sorts objects by object score.- Type Parameters:
V
- type of value- Parameters:
name
- name of objectcodec
- codec for values- Returns:
- ScoredSortedSet object
-
getList
Returns list instance by name.- Type Parameters:
V
- type of value- Parameters:
name
- name of object- Returns:
- List object
-
getList
Returns list instance by name using provided codec for list objects.- Type Parameters:
V
- type of value- Parameters:
name
- name of objectcodec
- codec for values- Returns:
- List object
-
getQueue
Returns unbounded queue instance by name.- Type Parameters:
V
- type of value- Parameters:
name
- of object- Returns:
- queue object
-
getQueue
Returns unbounded queue instance by name using provided codec for queue objects.- Type Parameters:
V
- type of value- Parameters:
name
- name of objectcodec
- codec for message- Returns:
- Queue object
-
getDeque
Returns unbounded deque instance by name.- Type Parameters:
V
- type of value- Parameters:
name
- name of object- Returns:
- Deque object
-
getDeque
Returns unbounded deque instance by name using provided codec for deque objects.- Type Parameters:
V
- type of value- Parameters:
name
- name of objectcodec
- codec for values- Returns:
- Deque object
-
getBlockingQueue
Returns unbounded blocking queue instance by name.- Type Parameters:
V
- type of value- Parameters:
name
- name of object- Returns:
- BlockingQueue object
-
getBlockingQueue
Returns unbounded blocking queue instance by name using provided codec for queue objects.- Type Parameters:
V
- type of value- Parameters:
name
- name of queuecodec
- queue objects codec- Returns:
- BlockingQueue object
-
getBlockingDeque
Returns unbounded blocking deque instance by name.- Type Parameters:
V
- type of value- Parameters:
name
- name of object- Returns:
- BlockingDeque object
-
getBlockingDeque
Returns unbounded blocking deque instance by name using provided codec for deque objects.- Type Parameters:
V
- type of value- Parameters:
name
- name of objectcodec
- deque objects codec- Returns:
- BlockingDeque object
-
getGeo
Returns geospatial items holder instance byname
.- Type Parameters:
V
- type of value- Parameters:
name
- name of object- Returns:
- Geo object
-
getGeo
Returns geospatial items holder instance byname
using provided codec for geospatial members.- Type Parameters:
V
- type of value- Parameters:
name
- name of objectcodec
- codec for value- Returns:
- Geo object
-