public class RedissonReactive extends Object implements RedissonReactiveClient
| Modifier and Type | Field and Description |
|---|---|
protected CommandReactiveExecutor |
commandExecutor |
protected ConnectionManager |
connectionManager |
protected EvictionScheduler |
evictionScheduler |
protected ConcurrentMap<String,ResponseEntry> |
responses |
protected WriteBehindService |
writeBehindService |
| Modifier | Constructor and Description |
|---|---|
protected |
RedissonReactive(Config config) |
protected |
RedissonReactive(ConnectionManager connectionManager,
EvictionScheduler evictionScheduler,
WriteBehindService writeBehindService,
ConcurrentMap<String,ResponseEntry> responses) |
| Modifier and Type | Method and Description |
|---|---|
RBatchReactive |
createBatch()
Return batch object which executes group of
command in pipeline.
|
RBatchReactive |
createBatch(BatchOptions options)
Return batch object which executes group of
command in pipeline.
|
RTransactionReactive |
createTransaction(TransactionOptions options)
Creates transaction with READ_COMMITTED isolation level.
|
<V> List<RBucketReactive<V>> |
findBuckets(String pattern)
Returns a list of object holder instances by a key pattern
|
RAtomicDoubleReactive |
getAtomicDouble(String name)
Returns "atomic double" instance by name.
|
RAtomicLongReactive |
getAtomicLong(String name)
Returns "atomic long" instance by name.
|
RBinaryStreamReactive |
getBinaryStream(String name)
Returns binary stream holder instance by
name |
RBitSetReactive |
getBitSet(String name)
Returns bitSet instance by name.
|
<V> RBlockingDequeReactive<V> |
getBlockingDeque(String name)
Returns unbounded blocking deque instance by name.
|
<V> RBlockingDequeReactive<V> |
getBlockingDeque(String name,
Codec codec)
Returns unbounded blocking deque instance by name
using provided codec for deque objects.
|
<V> RBlockingQueueReactive<V> |
getBlockingQueue(String name)
Returns blocking queue instance by name.
|
<V> RBlockingQueueReactive<V> |
getBlockingQueue(String name,
Codec codec)
Returns blocking queue instance by name
using provided codec for queue objects.
|
<V> RBucketReactive<V> |
getBucket(String name)
Returns object holder instance by name
|
<V> RBucketReactive<V> |
getBucket(String name,
Codec codec)
Returns object holder instance by name
using provided codec for object.
|
RBucketsReactive |
getBuckets()
Returns interface for mass operations with Bucket objects.
|
RBucketsReactive |
getBuckets(Codec codec)
Returns interface for mass operations with Bucket objects
using provided codec for object.
|
NodesGroup<ClusterNode> |
getClusterNodesGroup()
Get Redis cluster nodes group for server operations
|
CommandReactiveExecutor |
getCommandExecutor() |
Config |
getConfig()
Allows to get configuration provided
during Redisson instance creation.
|
ConnectionManager |
getConnectionManager() |
RCountDownLatchReactive |
getCountDownLatch(String name)
Returns CountDownLatch instance by name.
|
<V> RDequeReactive<V> |
getDeque(String name)
Returns deque instance by name.
|
<V> RDequeReactive<V> |
getDeque(String name,
Codec codec)
Returns deque instance by name
using provided codec for deque objects.
|
EvictionScheduler |
getEvictionScheduler() |
RLockReactive |
getFairLock(String name)
Returns Lock instance by name.
|
<V> RGeoReactive<V> |
getGeo(String name)
Returns geospatial items holder instance by
name. |
<V> RGeoReactive<V> |
getGeo(String name,
Codec codec)
Returns geospatial items holder instance by
name
using provided codec for geospatial members. |
<V> RHyperLogLogReactive<V> |
getHyperLogLog(String name)
Returns HyperLogLog instance by name.
|
<V> RHyperLogLogReactive<V> |
getHyperLogLog(String name,
Codec codec)
Returns HyperLogLog instance by name
using provided codec for hll objects.
|
String |
getId()
Returns id of this Redisson instance
|
RIdGeneratorReactive |
getIdGenerator(String name)
Returns id generator by name.
|
RKeysReactive |
getKeys()
Returns keys operations.
|
RLexSortedSetReactive |
getLexSortedSet(String name)
Returns String based Redis Sorted Set instance by name
All elements are inserted with the same score during addition,
in order to force lexicographical ordering
|
<V> RListReactive<V> |
getList(String name)
Returns list instance by name.
|
<V> RListReactive<V> |
getList(String name,
Codec codec)
Returns list instance by name
using provided codec for list objects.
|
<K,V> RListMultimapReactive<K,V> |
getListMultimap(String name)
Returns List based Multimap instance by name.
|
<K,V> RListMultimapReactive<K,V> |
getListMultimap(String name,
Codec codec)
Returns List based Multimap instance by name
using provided codec for both map keys and values.
|
RLockReactive |
getLock(String name)
Returns Lock instance by name.
|
<K,V> RMapReactive<K,V> |
getMap(String name)
Returns map instance by name.
|
<K,V> RMapReactive<K,V> |
getMap(String name,
Codec codec)
Returns map instance by name
using provided codec for both map keys and values.
|
<K,V> RMapReactive<K,V> |
getMap(String name,
Codec codec,
MapOptions<K,V> options)
Returns map instance by name
using provided codec for both map keys and values.
|
<K,V> RMapReactive<K,V> |
getMap(String name,
MapOptions<K,V> options)
Returns map instance by name.
|
<K,V> RMapCacheReactive<K,V> |
getMapCache(String name)
Returns map-based cache instance by name.
|
<K,V> RMapCacheReactive<K,V> |
getMapCache(String name,
Codec codec)
Returns map-based cache instance by name
using provided codec for both cache keys and values.
|
<K,V> RMapCacheReactive<K,V> |
getMapCache(String name,
Codec codec,
MapOptions<K,V> options)
Returns map-based cache instance by
name
using provided codec for both cache keys and values. |
<K,V> RMapCacheReactive<K,V> |
getMapCache(String name,
MapOptions<K,V> options)
Returns map-based cache instance by name.
|
RLockReactive |
getMultiLock(RLock... locks)
Returns MultiLock instance associated with specified
locks |
NodesGroup<Node> |
getNodesGroup()
Get Redis nodes group for server operations
|
RPatternTopicReactive |
getPatternTopic(String pattern)
Returns topic instance satisfies by pattern name.
|
RPatternTopicReactive |
getPatternTopic(String pattern,
Codec codec)
Returns topic instance satisfies by pattern name
using provided codec for messages.
|
RPermitExpirableSemaphoreReactive |
getPermitExpirableSemaphore(String name)
Returns semaphore instance by name.
|
<V> RQueueReactive<V> |
getQueue(String name)
Returns queue instance by name.
|
<V> RQueueReactive<V> |
getQueue(String name,
Codec codec)
Returns queue instance by name
using provided codec for queue objects.
|
RRateLimiterReactive |
getRateLimiter(String name)
Returns rate limiter instance by
name |
RReadWriteLockReactive |
getReadWriteLock(String name)
Returns ReadWriteLock instance by name.
|
RLockReactive |
getRedLock(RLock... locks) |
RReliableTopicReactive |
getReliableTopic(String name)
Returns reliable topic instance by name.
|
RReliableTopicReactive |
getReliableTopic(String name,
Codec codec)
Returns reliable topic instance by name
using provided codec for messages.
|
RRemoteService |
getRemoteService()
Returns object for remote operations prefixed with the default name (redisson_remote_service)
|
RRemoteService |
getRemoteService(Codec codec)
Returns object for remote operations prefixed with the default name (redisson_remote_service)
and uses provided codec for method arguments and result.
|
RRemoteService |
getRemoteService(String name)
Returns object for remote operations prefixed with the specified name
|
RRemoteService |
getRemoteService(String name,
Codec codec)
Returns object for remote operations prefixed with the specified name
and uses provided codec for method arguments and result.
|
<V> RRingBufferReactive<V> |
getRingBuffer(String name)
Returns RingBuffer based queue.
|
<V> RRingBufferReactive<V> |
getRingBuffer(String name,
Codec codec)
Returns RingBuffer based queue.
|
<V> RScoredSortedSetReactive<V> |
getScoredSortedSet(String name)
Returns Redis Sorted Set instance by name.
|
<V> RScoredSortedSetReactive<V> |
getScoredSortedSet(String name,
Codec codec)
Returns Redis Sorted Set instance by name
using provided codec for sorted set objects.
|
RScriptReactive |
getScript()
Returns script operations object
|
RScriptReactive |
getScript(Codec codec)
Returns script operations object using provided codec.
|
RSemaphoreReactive |
getSemaphore(String name)
Returns semaphore instance by name
|
<V> RSetReactive<V> |
getSet(String name)
Returns set instance by name.
|
<V> RSetReactive<V> |
getSet(String name,
Codec codec)
Returns set instance by name
using provided codec for set objects.
|
<V> RSetCacheReactive<V> |
getSetCache(String name)
Returns set-based cache instance by
name. |
<V> RSetCacheReactive<V> |
getSetCache(String name,
Codec codec)
Returns set-based cache instance by
name. |
<K,V> RSetMultimapReactive<K,V> |
getSetMultimap(String name)
Returns Set based Multimap instance by name.
|
<K,V> RSetMultimapReactive<K,V> |
getSetMultimap(String name,
Codec codec)
Returns Set based Multimap instance by name
using provided codec for both map keys and values.
|
RLockReactive |
getSpinLock(String name)
Returns Spin lock instance by name.
|
RLockReactive |
getSpinLock(String name,
LockOptions.BackOff backOff)
Returns Spin lock instance by name with specified back off options.
|
<K,V> RStreamReactive<K,V> |
getStream(String name)
Returns stream instance by
name
Requires Redis 5.0.0 and higher. |
<K,V> RStreamReactive<K,V> |
getStream(String name,
Codec codec)
Returns stream instance by
name
using provided codec for entries. |
<V> RTimeSeriesReactive<V> |
getTimeSeries(String name)
Returns time-series instance by
name |
<V> RTimeSeriesReactive<V> |
getTimeSeries(String name,
Codec codec)
Returns time-series instance by
name
using provided codec for values. |
RTopicReactive |
getTopic(String name)
Returns topic instance by name.
|
RTopicReactive |
getTopic(String name,
Codec codec)
Returns topic instance by name
using provided codec for messages.
|
<V> RTransferQueueReactive<V> |
getTransferQueue(String name)
Returns transfer queue instance by name.
|
<V> RTransferQueueReactive<V> |
getTransferQueue(String name,
Codec codec)
Returns transfer queue instance by name
using provided codec for queue objects.
|
boolean |
isShutdown()
Returns
true if this Redisson instance has been shut down. |
boolean |
isShuttingDown()
Returns
true if this Redisson instance was started to be shutdown
or was shutdown RedissonReactiveClient.isShutdown() already. |
void |
shutdown()
Shuts down Redisson instance NOT Redis server
|
protected final WriteBehindService writeBehindService
protected final EvictionScheduler evictionScheduler
protected final CommandReactiveExecutor commandExecutor
protected final ConnectionManager connectionManager
protected final ConcurrentMap<String,ResponseEntry> responses
protected RedissonReactive(Config config)
protected RedissonReactive(ConnectionManager connectionManager, EvictionScheduler evictionScheduler, WriteBehindService writeBehindService, ConcurrentMap<String,ResponseEntry> responses)
public EvictionScheduler getEvictionScheduler()
public ConnectionManager getConnectionManager()
public CommandReactiveExecutor getCommandExecutor()
public <K,V> RStreamReactive<K,V> getStream(String name)
RedissonReactiveClientname
Requires Redis 5.0.0 and higher.
getStream in interface RedissonReactiveClientK - type of keyV - type of valuename - of streampublic <K,V> RStreamReactive<K,V> getStream(String name, Codec codec)
RedissonReactiveClientname
using provided codec for entries.
Requires Redis 5.0.0 and higher.
getStream in interface RedissonReactiveClientK - type of keyV - type of valuename - - name of streamcodec - - codec for entrypublic <V> RGeoReactive<V> getGeo(String name)
RedissonReactiveClientname.getGeo in interface RedissonReactiveClientV - type of valuename - - name of objectpublic <V> RGeoReactive<V> getGeo(String name, Codec codec)
RedissonReactiveClientname
using provided codec for geospatial members.getGeo in interface RedissonReactiveClientV - type of valuename - - name of objectcodec - - codec for valuepublic RLockReactive getFairLock(String name)
RedissonReactiveClientImplements a fair locking so it guarantees an acquire order by threads.
To increase reliability during failover, all operations wait for propagation to all Redis slaves.
getFairLock in interface RedissonReactiveClientname - - name of objectpublic RRateLimiterReactive getRateLimiter(String name)
RedissonReactiveClientnamegetRateLimiter in interface RedissonReactiveClientname - of rate limiterpublic RBinaryStreamReactive getBinaryStream(String name)
RedissonReactiveClientnamegetBinaryStream in interface RedissonReactiveClientname - of binary streampublic RSemaphoreReactive getSemaphore(String name)
RedissonReactiveClientgetSemaphore in interface RedissonReactiveClientname - - name of objectpublic RPermitExpirableSemaphoreReactive getPermitExpirableSemaphore(String name)
RedissonReactiveClientgetPermitExpirableSemaphore in interface RedissonReactiveClientname - - name of objectpublic RReadWriteLockReactive getReadWriteLock(String name)
RedissonReactiveClientTo increase reliability during failover, all operations wait for propagation to all Redis slaves.
getReadWriteLock in interface RedissonReactiveClientname - - name of objectpublic RLockReactive getLock(String name)
RedissonReactiveClientImplements a non-fair locking so doesn't guarantees an acquire order by threads.
To increase reliability during failover, all operations wait for propagation to all Redis slaves.
getLock in interface RedissonReactiveClientname - - name of objectpublic RLockReactive getSpinLock(String name)
RedissonReactiveClientImplements a non-fair locking so doesn't guarantees an acquire order by threads.
Lock doesn't use a pub/sub mechanism
getSpinLock in interface RedissonReactiveClientname - - name of objectpublic RLockReactive getSpinLock(String name, LockOptions.BackOff backOff)
RedissonReactiveClientImplements a non-fair locking so doesn't guarantees an acquire order by threads.
Lock doesn't use a pub/sub mechanism
getSpinLock in interface RedissonReactiveClientname - - name of objectpublic RLockReactive getMultiLock(RLock... locks)
RedissonReactiveClientlocksgetMultiLock in interface RedissonReactiveClientlocks - - collection of lockspublic RLockReactive getRedLock(RLock... locks)
getRedLock in interface RedissonReactiveClientpublic RCountDownLatchReactive getCountDownLatch(String name)
RedissonReactiveClientgetCountDownLatch in interface RedissonReactiveClientname - - name of objectpublic <K,V> RMapCacheReactive<K,V> getMapCache(String name, Codec codec)
RedissonReactiveClient
If eviction is not required then it's better to use regular map RedissonReactiveClient.getMap(String, Codec).
getMapCache in interface RedissonReactiveClientK - type of keysV - type of valuesname - - name of objectcodec - - codec for valuespublic <K,V> RMapCacheReactive<K,V> getMapCache(String name)
RedissonReactiveClient
If eviction is not required then it's better to use regular map RedissonReactiveClient.getMap(String).
getMapCache in interface RedissonReactiveClientK - type of keysV - type of valuesname - - name of objectpublic <V> RBucketReactive<V> getBucket(String name)
RedissonReactiveClientgetBucket in interface RedissonReactiveClientV - type of valuename - - name of objectpublic <V> RBucketReactive<V> getBucket(String name, Codec codec)
RedissonReactiveClientgetBucket in interface RedissonReactiveClientV - type of valuename - - name of objectcodec - - codec for valuepublic RBucketsReactive getBuckets()
RedissonReactiveClientgetBuckets in interface RedissonReactiveClientpublic RBucketsReactive getBuckets(Codec codec)
RedissonReactiveClientgetBuckets in interface RedissonReactiveClientcodec - - codec for bucket objectspublic <V> List<RBucketReactive<V>> findBuckets(String pattern)
RedissonReactiveClientfindBuckets in interface RedissonReactiveClientV - type of valuepattern - - pattern for name of bucketspublic <V> RHyperLogLogReactive<V> getHyperLogLog(String name)
RedissonReactiveClientgetHyperLogLog in interface RedissonReactiveClientV - type of valuesname - - name of objectpublic <V> RHyperLogLogReactive<V> getHyperLogLog(String name, Codec codec)
RedissonReactiveClientgetHyperLogLog in interface RedissonReactiveClientV - type of valuesname - - name of objectcodec - - codec of valuespublic RIdGeneratorReactive getIdGenerator(String name)
RedissonReactiveClientgetIdGenerator in interface RedissonReactiveClientname - - name of objectpublic <V> RListReactive<V> getList(String name)
RedissonReactiveClientgetList in interface RedissonReactiveClientV - type of valuesname - - name of objectpublic <V> RListReactive<V> getList(String name, Codec codec)
RedissonReactiveClientgetList in interface RedissonReactiveClientV - type of valuesname - - name of objectcodec - - codec for valuespublic <K,V> RListMultimapReactive<K,V> getListMultimap(String name)
RedissonReactiveClientgetListMultimap in interface RedissonReactiveClientK - type of keyV - type of valuename - - name of objectpublic <K,V> RListMultimapReactive<K,V> getListMultimap(String name, Codec codec)
RedissonReactiveClientgetListMultimap in interface RedissonReactiveClientK - type of keyV - type of valuename - - name of objectcodec - - codec for keys and valuespublic <K,V> RSetMultimapReactive<K,V> getSetMultimap(String name)
RedissonReactiveClientgetSetMultimap in interface RedissonReactiveClientK - type of keyV - type of valuename - - name of objectpublic <K,V> RSetMultimapReactive<K,V> getSetMultimap(String name, Codec codec)
RedissonReactiveClientgetSetMultimap in interface RedissonReactiveClientK - type of keyV - type of valuename - - name of objectcodec - - codec for keys and valuespublic <K,V> RMapReactive<K,V> getMap(String name)
RedissonReactiveClientgetMap in interface RedissonReactiveClientK - type of keysV - type of valuesname - - name of objectpublic <K,V> RMapReactive<K,V> getMap(String name, Codec codec)
RedissonReactiveClientgetMap in interface RedissonReactiveClientK - type of keysV - type of valuesname - - name of objectcodec - - codec for keys and valuespublic <V> RSetReactive<V> getSet(String name)
RedissonReactiveClientgetSet in interface RedissonReactiveClientV - type of valuesname - - name of objectpublic <V> RSetReactive<V> getSet(String name, Codec codec)
RedissonReactiveClientgetSet in interface RedissonReactiveClientV - type of valuesname - - name of setcodec - - codec for valuespublic <V> RScoredSortedSetReactive<V> getScoredSortedSet(String name)
RedissonReactiveClientgetScoredSortedSet in interface RedissonReactiveClientV - type of valuesname - of scored sorted setpublic <V> RScoredSortedSetReactive<V> getScoredSortedSet(String name, Codec codec)
RedissonReactiveClientgetScoredSortedSet in interface RedissonReactiveClientV - type of valuesname - - name of scored sorted setcodec - - codec for valuespublic RLexSortedSetReactive getLexSortedSet(String name)
RedissonReactiveClientgetLexSortedSet in interface RedissonReactiveClientname - - name of objectpublic RTopicReactive getTopic(String name)
RedissonReactiveClientgetTopic in interface RedissonReactiveClientname - - name of objectpublic RTopicReactive getTopic(String name, Codec codec)
RedissonReactiveClientgetTopic in interface RedissonReactiveClientname - - name of objectcodec - - codec for messagepublic RReliableTopicReactive getReliableTopic(String name)
RedissonReactiveClientDedicated Redis connection is allocated per instance (subscriber) of this object. Messages are delivered to all listeners attached to the same Redis setup.
Requires Redis 5.0.0 and higher.
getReliableTopic in interface RedissonReactiveClientname - - name of objectpublic RReliableTopicReactive getReliableTopic(String name, Codec codec)
RedissonReactiveClientDedicated Redis connection is allocated per instance (subscriber) of this object. Messages are delivered to all listeners attached to the same Redis setup.
Requires Redis 5.0.0 and higher.
getReliableTopic in interface RedissonReactiveClientname - - name of objectcodec - - codec for messagepublic RPatternTopicReactive getPatternTopic(String pattern)
RedissonReactiveClientgetPatternTopic in interface RedissonReactiveClientpattern - of the topicpublic RPatternTopicReactive getPatternTopic(String pattern, Codec codec)
RedissonReactiveClientgetPatternTopic in interface RedissonReactiveClientpattern - of the topiccodec - - codec for messagepublic <V> RQueueReactive<V> getQueue(String name)
RedissonReactiveClientgetQueue in interface RedissonReactiveClientV - type of valuesname - - name of objectpublic <V> RQueueReactive<V> getQueue(String name, Codec codec)
RedissonReactiveClientgetQueue in interface RedissonReactiveClientV - type of valuesname - - name of objectcodec - - codec for valuespublic <V> RRingBufferReactive<V> getRingBuffer(String name)
RedissonReactiveClientgetRingBuffer in interface RedissonReactiveClientV - value typename - - name of objectpublic <V> RRingBufferReactive<V> getRingBuffer(String name, Codec codec)
RedissonReactiveClientgetRingBuffer in interface RedissonReactiveClientV - value typename - - name of objectcodec - - codec for valuespublic <V> RBlockingQueueReactive<V> getBlockingQueue(String name)
RedissonReactiveClientgetBlockingQueue in interface RedissonReactiveClientV - type of valuesname - - name of objectpublic <V> RBlockingQueueReactive<V> getBlockingQueue(String name, Codec codec)
RedissonReactiveClientgetBlockingQueue in interface RedissonReactiveClientV - type of valuesname - - name of objectcodec - - code for valuespublic <V> RDequeReactive<V> getDeque(String name)
RedissonReactiveClientgetDeque in interface RedissonReactiveClientV - type of valuesname - - name of objectpublic <V> RDequeReactive<V> getDeque(String name, Codec codec)
RedissonReactiveClientgetDeque in interface RedissonReactiveClientV - type of valuesname - - name of objectcodec - - coded for valuespublic <V> RTimeSeriesReactive<V> getTimeSeries(String name)
RedissonReactiveClientnamegetTimeSeries in interface RedissonReactiveClientV - type of valuename - - name of instancepublic <V> RTimeSeriesReactive<V> getTimeSeries(String name, Codec codec)
RedissonReactiveClientname
using provided codec for values.getTimeSeries in interface RedissonReactiveClientV - type of valuename - - name of instancecodec - - codec for valuespublic <V> RSetCacheReactive<V> getSetCache(String name)
RedissonReactiveClientname.
Supports value eviction with a given TTL value.
If eviction is not required then it's better to use regular map RedissonReactiveClient.getSet(String, Codec).
getSetCache in interface RedissonReactiveClientV - type of valuesname - - name of objectpublic <V> RSetCacheReactive<V> getSetCache(String name, Codec codec)
RedissonReactiveClientname.
Supports value eviction with a given TTL value.
If eviction is not required then it's better to use regular map RedissonReactiveClient.getSet(String, Codec).
getSetCache in interface RedissonReactiveClientV - type of valuesname - - name of objectcodec - - codec for valuespublic RAtomicLongReactive getAtomicLong(String name)
RedissonReactiveClientgetAtomicLong in interface RedissonReactiveClientname - of the "atomic long"public RAtomicDoubleReactive getAtomicDouble(String name)
RedissonReactiveClientgetAtomicDouble in interface RedissonReactiveClientname - of the "atomic double"public RRemoteService getRemoteService()
RedissonReactiveClientgetRemoteService in interface RedissonReactiveClientpublic RRemoteService getRemoteService(String name)
RedissonReactiveClientgetRemoteService in interface RedissonReactiveClientname - - the name used as the Redis key prefix for the servicespublic RRemoteService getRemoteService(Codec codec)
RedissonReactiveClientgetRemoteService in interface RedissonReactiveClientcodec - - codec for response and requestpublic RRemoteService getRemoteService(String name, Codec codec)
RedissonReactiveClientgetRemoteService in interface RedissonReactiveClientname - - the name used as the Redis key prefix for the servicescodec - - codec for response and requestpublic RBitSetReactive getBitSet(String name)
RedissonReactiveClientgetBitSet in interface RedissonReactiveClientname - - name of objectpublic RScriptReactive getScript()
RedissonReactiveClientgetScript in interface RedissonReactiveClientpublic RScriptReactive getScript(Codec codec)
RedissonReactiveClientgetScript in interface RedissonReactiveClientcodec - - codec for params and resultpublic RBatchReactive createBatch(BatchOptions options)
RedissonReactiveClientcreateBatch in interface RedissonReactiveClientoptions - - batch configurationpublic RBatchReactive createBatch()
RedissonReactiveClientcreateBatch in interface RedissonReactiveClientpublic RKeysReactive getKeys()
RedissonReactiveClientgetKeys in interface RedissonReactiveClientpublic Config getConfig()
RedissonReactiveClientgetConfig in interface RedissonReactiveClientpublic NodesGroup<Node> getNodesGroup()
RedissonReactiveClientgetNodesGroup in interface RedissonReactiveClientpublic NodesGroup<ClusterNode> getClusterNodesGroup()
RedissonReactiveClientgetClusterNodesGroup in interface RedissonReactiveClientpublic void shutdown()
RedissonReactiveClientshutdown in interface RedissonReactiveClientpublic boolean isShutdown()
RedissonReactiveClienttrue if this Redisson instance has been shut down.isShutdown in interface RedissonReactiveClienttrue if this Redisson instance has been shut down otherwise falsepublic boolean isShuttingDown()
RedissonReactiveClienttrue if this Redisson instance was started to be shutdown
or was shutdown RedissonReactiveClient.isShutdown() already.isShuttingDown in interface RedissonReactiveClienttrue if this Redisson instance was started to be shutdown
or was shutdown RedissonReactiveClient.isShutdown() already otherwise falsepublic <K,V> RMapCacheReactive<K,V> getMapCache(String name, Codec codec, MapOptions<K,V> options)
RedissonReactiveClientname
using provided codec for both cache keys and values.
Supports entry eviction with a given MaxIdleTime and TTL settings.
If eviction is not required then it's better to use regular map RedissonReactiveClient.getMap(String, Codec, MapOptions).
getMapCache in interface RedissonReactiveClientK - type of keyV - type of valuename - - object namecodec - - codec for keys and valuesoptions - - map optionspublic <K,V> RMapCacheReactive<K,V> getMapCache(String name, MapOptions<K,V> options)
RedissonReactiveClient
If eviction is not required then it's better to use regular map RedissonReactiveClient.getMap(String, MapOptions).
getMapCache in interface RedissonReactiveClientK - type of keyV - type of valuename - - name of objectoptions - - map optionspublic <K,V> RMapReactive<K,V> getMap(String name, MapOptions<K,V> options)
RedissonReactiveClientgetMap in interface RedissonReactiveClientK - type of keyV - type of valuename - - name of objectoptions - - map optionspublic <K,V> RMapReactive<K,V> getMap(String name, Codec codec, MapOptions<K,V> options)
RedissonReactiveClientgetMap in interface RedissonReactiveClientK - type of keyV - type of valuename - - name of objectcodec - - codec for keys and valuesoptions - - map optionspublic RTransactionReactive createTransaction(TransactionOptions options)
RedissonReactiveClientcreateTransaction in interface RedissonReactiveClientoptions - - transaction configurationpublic <V> RBlockingDequeReactive<V> getBlockingDeque(String name)
RedissonReactiveClientgetBlockingDeque in interface RedissonReactiveClientV - type of valuename - - name of objectpublic <V> RBlockingDequeReactive<V> getBlockingDeque(String name, Codec codec)
RedissonReactiveClientgetBlockingDeque in interface RedissonReactiveClientV - type of valuename - - name of objectcodec - - deque objects codecpublic <V> RTransferQueueReactive<V> getTransferQueue(String name)
RedissonReactiveClientgetTransferQueue in interface RedissonReactiveClientV - type of valuesname - - name of objectpublic <V> RTransferQueueReactive<V> getTransferQueue(String name, Codec codec)
RedissonReactiveClientgetTransferQueue in interface RedissonReactiveClientV - type of valuesname - - name of objectcodec - - code for valuespublic String getId()
RedissonReactiveClientgetId in interface RedissonReactiveClientCopyright © 2014–2021 Redisson. All rights reserved.