Class RedissonRx
- All Implemented Interfaces:
RedissonRxClient
- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescriptionReturn batch object which executes group of command in pipeline.createBatch(BatchOptions options) Return batch object which executes group of command in pipeline.createTransaction(TransactionOptions options) Creates transaction with READ_COMMITTED isolation level.getAtomicDouble(String name) Returns "atomic double" instance by name.getAtomicDouble(CommonOptions options) Returns atomicDouble instance with specifiedoptions.getAtomicLong(String name) Returns "atomic long" instance by name.getAtomicLong(CommonOptions options) Returns atomicLong instance with specifiedoptions.getBinaryStream(String name) Returns binary stream holder instance bynamegetBinaryStream(CommonOptions options) Returns binary stream holder instance with specifiedoptions.Returns bitSet instance by name.getBitSet(CommonOptions options) Returns bitSet instance with specifiedoptions.<V> RBlockingDequeRx<V> getBlockingDeque(String name) Returns unbounded blocking deque instance by name.<V> RBlockingDequeRx<V> getBlockingDeque(String name, Codec codec) Returns unbounded blocking deque instance by name using provided codec for deque objects.<V> RBlockingDequeRx<V> getBlockingDeque(PlainOptions options) Returns unbounded blocking deque instance with specifiedoptions.<V> RBlockingQueueRx<V> getBlockingQueue(String name) Returns blocking queue instance by name.<V> RBlockingQueueRx<V> getBlockingQueue(String name, Codec codec) Returns blocking queue instance by name using provided codec for queue objects.<V> RBlockingQueueRx<V> getBlockingQueue(PlainOptions options) Returns unbounded blocking queue instance with specifiedoptions.<V> RBloomFilterRx<V> getBloomFilter(String name) Returns bloom filter instance by name.<V> RBloomFilterRx<V> getBloomFilter(String name, Codec codec) Returns bloom filter instance by name using provided codec for objects.<V> RBloomFilterRx<V> getBloomFilter(PlainOptions options) Returns bloom filter instance with specifiedoptions.<V> RBucketRx<V> Returns object holder instance by name<V> RBucketRx<V> Returns object holder instance by name using provided codec for object.<V> RBucketRx<V> getBucket(PlainOptions options) Returns object holder instance with specifiedoptions.Returns interface for mass operations with Bucket objects.getBuckets(OptionalOptions options) Returns API for mass operations over Bucket objects with specifiedoptions.getBuckets(Codec codec) Returns interface for mass operations with Bucket objects using provided codec for object.Allows to get configuration provided during Redisson instance creation.getCountDownLatch(String name) Returns CountDownLatch instance by name.getCountDownLatch(CommonOptions options) Returns countDownLatch instance with specifiedoptions.<V> RDequeRx<V> Returns deque instance by name.<V> RDequeRx<V> Returns deque instance by name using provided codec for deque objects.<V> RDequeRx<V> getDeque(PlainOptions options) Returns unbounded deque instance with specifiedoptions.getFairLock(String name) Returns Lock instance by name.getFairLock(CommonOptions options) Returns Lock instance with specifiedoptions.getFencedLock(String name) Returns Fenced Lock by name.getFencedLock(CommonOptions options) Returns Fenced Lock instance with specifiedoptions..Returns interface for Redis Function featuregetFunction(OptionalOptions options) Returns interface for Redis Function feature with specifiedoptions.getFunction(Codec codec) Returns interface for Redis Function feature using provided codec<V> RGeoRx<V> Returns geospatial items holder instance byname.<V> RGeoRx<V> Returns geospatial items holder instance bynameusing provided codec for geospatial members.<V> RGeoRx<V> getGeo(PlainOptions options) Returns geospatial items holder instance with specifiedoptions.<V> RHyperLogLogRx<V> getHyperLogLog(String name) Returns HyperLogLog instance by name.<V> RHyperLogLogRx<V> getHyperLogLog(String name, Codec codec) Returns HyperLogLog instance by name using provided codec for hll objects.<V> RHyperLogLogRx<V> getHyperLogLog(PlainOptions options) Returns HyperLogLog instance with specifiedoptions.getId()Returns id of this Redisson instancegetIdGenerator(String name) Returns id generator by name.getIdGenerator(CommonOptions options) Returns id generator instance with specifiedoptions.<V> RJsonBucketRx<V> getJsonBucket(String name, JsonCodec codec) Returns JSON data holder instance by name using provided codec.<V> RJsonBucketRx<V> getJsonBucket(JsonBucketOptions<V> options) Returns JSON data holder instance with specifiedoptions.getJsonBuckets(JsonCodec codec) Returns API for mass operations over JsonBucket objects using provided codec for JSON object with default path.getKeys()Returns keys operations.getKeys(KeysOptions options) Returns interface for operations over Redis keys with specifiedoptions.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 orderinggetLexSortedSet(CommonOptions options) Returns String based Redis Sorted Set instance with specifiedoptions.<V> RListRx<V> Returns list instance by name.<V> RListRx<V> Returns list instance by name using provided codec for list objects.<V> RListRx<V> getList(PlainOptions options) Returns list instance with specifiedoptions.<K,V> RListMultimapRx <K, V> getListMultimap(String name) Returns List based Multimap instance by name.<K,V> RListMultimapRx <K, V> getListMultimap(String name, Codec codec) Returns List based Multimap instance by name using provided codec for both map keys and values.<K,V> RListMultimapRx <K, V> getListMultimap(PlainOptions options) Returns List based Multimap instance with specifiedoptions.<K,V> RListMultimapCacheRx <K, V> getListMultimapCache(String name) Returns List based Multimap cache instance by name.<K,V> RListMultimapCacheRx <K, V> getListMultimapCache(String name, Codec codec) Returns List based Multimap cache instance by name using provided codec for both map keys and values.<K,V> RListMultimapCacheRx <K, V> getListMultimapCache(PlainOptions options) Returns List based Multimap instance by name.<K,V> RListMultimapCacheNativeRx <K, V> Returns List based Multimap instance by name.<K,V> RListMultimapCacheNativeRx <K, V> getListMultimapCacheNative(String name, Codec codec) Returns List based Multimap instance by name using provided codec for both map keys and values.<K,V> RListMultimapCacheNativeRx <K, V> getListMultimapCacheNative(PlainOptions options) Returns List based Multimap instance by name.<K,V> RLocalCachedMapRx <K, V> getLocalCachedMap(String name, LocalCachedMapOptions<K, V> options) Returns local cached map instance by name.<K,V> RLocalCachedMapRx <K, V> getLocalCachedMap(String name, Codec codec, LocalCachedMapOptions<K, V> options) Returns local cached map instance by name using provided codec.<K,V> RLocalCachedMapRx <K, V> getLocalCachedMap(LocalCachedMapOptions<K, V> options) Returns local cached map instance with specifiedoptions.<K,V> RLocalCachedMapCacheRx <K, V> getLocalCachedMapCache(String name, LocalCachedMapCacheOptions<K, V> options) Returns local cached map cache instance by name.<K,V> RLocalCachedMapCacheRx <K, V> getLocalCachedMapCache(String name, Codec codec, LocalCachedMapCacheOptions<K, V> options) Returns local cached map cache instance by name using provided codec.Returns Lock instance by name.getLock(CommonOptions options) Returns Lock instance with specifiedoptions.<K,V> RMapRx <K, V> Returns map instance by name.<K,V> RMapRx <K, V> getMap(String name, MapOptions<K, V> options) Returns map instance by name.<K,V> RMapRx <K, V> Returns map instance by name using provided codec for both map keys and values.<K,V> RMapRx <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> RMapRx <K, V> getMap(MapOptions<K, V> options) Returns map instance by name.<K,V> RMapCacheRx <K, V> getMapCache(String name) Returns map-based cache instance by name.<K,V> RMapCacheRx <K, V> getMapCache(String name, MapCacheOptions<K, V> options) Returns map-based cache instance by name.<K,V> RMapCacheRx <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> RMapCacheRx <K, V> getMapCache(String name, Codec codec, MapCacheOptions<K, V> options) Returns map-based cache instance bynameusing providedcodecfor both cache keys and values.<K,V> RMapCacheRx <K, V> getMapCache(MapCacheOptions<K, V> options) Returns map-based cache instance with specifiedoptions.<K,V> RMapCacheNativeRx <K, V> getMapCacheNative(String name) Returns map instance by name.<K,V> RMapCacheNativeRx <K, V> getMapCacheNative(String name, Codec codec) Returns map instance by name using provided codec for both map keys and values.<K,V> RMapCacheNativeRx <K, V> getMapCacheNative(MapOptions<K, V> options) Returns map instance.getMultiLock(String group, Collection<Object> values) Returns RedissonFasterMultiLock instance associated with specifiedgroupandvaluesgetMultiLock(RLock... locks) getMultiLock(RLockRx... locks) Returns MultiLock instance associated with specifiedlocksgetPatternTopic(String pattern) Returns topic instance satisfies by pattern name.getPatternTopic(String pattern, Codec codec) Returns topic instance satisfies by pattern name using provided codec for messages.getPatternTopic(PatternTopicOptions options) Returns topic instance satisfies pattern name and specifiedoptions..Returns semaphore instance by name.getPermitExpirableSemaphore(CommonOptions options) Returns semaphore instance with specifiedoptions.<V> RQueueRx<V> Returns queue instance by name.<V> RQueueRx<V> Returns queue instance by name using provided codec for queue objects.<V> RQueueRx<V> getQueue(PlainOptions options) Returns unbounded queue instance with specifiedoptions.getRateLimiter(String name) Returns rate limiter instance bynamegetRateLimiter(CommonOptions options) Returns rate limiter instance with specifiedoptions.getReadWriteLock(String name) Returns ReadWriteLock instance by name.getReadWriteLock(CommonOptions options) Returns ReadWriteLock instance with specifiedoptions.getRedLock(RLock... locks) getReliableTopic(String name) Returns reliable topic instance by name.getReliableTopic(String name, Codec codec) Returns reliable topic instance by name using provided codec for messages.getReliableTopic(PlainOptions options) Returns reliable topic instance with specifiedoptions.Returns object for remote operations prefixed with the default name (redisson_remote_service)getRemoteService(String name) Returns object for remote operations prefixed with the specified namegetRemoteService(String name, Codec codec) Returns object for remote operations prefixed with the specified name and uses provided codec for method arguments and result.getRemoteService(PlainOptions options) Returns object for remote operations prefixed with specifiedoptions.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.<V> RRingBufferRx<V> getRingBuffer(String name) Returns RingBuffer based queue.<V> RRingBufferRx<V> getRingBuffer(String name, Codec codec) Returns RingBuffer based queue.<V> RRingBufferRx<V> getRingBuffer(PlainOptions options) Returns RingBuffer based queue instance with specifiedoptions.<V> RScoredSortedSetRx<V> getScoredSortedSet(String name) Returns Redis Sorted Set instance by name.<V> RScoredSortedSetRx<V> getScoredSortedSet(String name, Codec codec) Returns Redis Sorted Set instance by name using provided codec for sorted set objects.<V> RScoredSortedSetRx<V> getScoredSortedSet(PlainOptions options) Returns Redis Sorted Set instance with specifiedoptions.Returns script operations objectgetScript(OptionalOptions options) Returns script operations object with specifiedoptions.Returns script operations object using provided codec.Returns API for RediSearch modulegetSearch(OptionalOptions options) Returns API for RediSearch module with specifiedoptions.Returns API for RediSearch module using defined codec for attribute values.getSemaphore(String name) Returns semaphore instance by namegetSemaphore(CommonOptions options) Returns semaphore instance with specifiedoptions.<V> RSetRx<V> Returns set instance by name.<V> RSetRx<V> Returns set instance by name using provided codec for set objects.<V> RSetRx<V> getSet(PlainOptions options) Returns set instance with specifiedoptions.<V> RSetCacheRx<V> getSetCache(String name) Returns set-based cache instance byname.<V> RSetCacheRx<V> getSetCache(String name, Codec codec) Returns set-based cache instance byname.<V> RSetCacheRx<V> getSetCache(PlainOptions options) Returns set-based cache instance with specifiedoptions.<K,V> RSetMultimapRx <K, V> getSetMultimap(String name) Returns Set based Multimap instance by name.<K,V> RSetMultimapRx <K, V> getSetMultimap(String name, Codec codec) Returns Set based Multimap instance by name using provided codec for both map keys and values.<K,V> RSetMultimapRx <K, V> getSetMultimap(PlainOptions options) Returns Set based Multimap instance with specifiedoptions.<K,V> RSetMultimapCacheRx <K, V> getSetMultimapCache(String name) Returns Set based Multimap cache instance by name.<K,V> RSetMultimapCacheRx <K, V> getSetMultimapCache(String name, Codec codec) Returns Set based Multimap cache instance by name using provided codec for both map keys and values.<K,V> RSetMultimapCacheRx <K, V> getSetMultimapCache(PlainOptions options) Returns Set based Multimap instance with specifiedoptions.<K,V> RSetMultimapCacheNativeRx <K, V> Returns Set based Multimap instance by name.<K,V> RSetMultimapCacheNativeRx <K, V> getSetMultimapCacheNative(String name, Codec codec) Returns Set based Multimap instance by name using provided codec for both map keys and values.<K,V> RSetMultimapCacheNativeRx <K, V> getSetMultimapCacheNative(PlainOptions options) Returns Set based Multimap instance with specifiedoptions.getShardedTopic(String name) Returns Sharded Topic instance by name.getShardedTopic(String name, Codec codec) Returns Sharded Topic instance by name using provided codec for messages.getShardedTopic(PlainOptions options) Returns Sharded Topic instance with specifiedoptions.getSpinLock(String name) Returns Spin lock instance by name.getSpinLock(String name, LockOptions.BackOff backOff) Returns Spin lock instance by name with specified back off options.<K,V> RStreamRx <K, V> Returns stream instance byname<K,V> RStreamRx <K, V> Returns stream instance bynameusing providedcodecfor entries.<K,V> RStreamRx <K, V> getStream(PlainOptions options) Returns time-series instance with specifiedoptions.<V,L> RTimeSeriesRx <V, L> getTimeSeries(String name) Returns time-series instance byname<V,L> RTimeSeriesRx <V, L> getTimeSeries(String name, Codec codec) Returns time-series instance bynameusing providedcodecfor values.<V,L> RTimeSeriesRx <V, L> getTimeSeries(PlainOptions options) Returns time-series instance with specifiedoptions.Returns topic instance by name.Returns topic instance by name using provided codec for messages.getTopic(PlainOptions options) Returns topic instance with specifiedoptions.<V> RTransferQueueRx<V> getTransferQueue(String name) Returns transfer queue instance by name.<V> RTransferQueueRx<V> getTransferQueue(String name, Codec codec) Returns transfer queue instance by name using provided codec for queue objects.<V> RTransferQueueRx<V> getTransferQueue(PlainOptions options) Returns transfer queue instance with specifiedoptions.booleanReturnstrueif this Redisson instance has been shut down.booleanReturnstrueif this Redisson instance was started to be shutdown or was shutdownRedissonRxClient.isShutdown()already.voidshutdown()UseRedissonClient.shutdown()instead
-
Method Details
-
getCommandExecutor
-
getStream
Description copied from interface:RedissonRxClientReturns stream instance bynameRequires Redis 5.0.0 and higher.
- Specified by:
getStreamin interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- of stream- Returns:
- RStream object
-
getStream
Description copied from interface:RedissonRxClientReturns stream instance bynameusing providedcodecfor entries.Requires Redis 5.0.0 and higher.
- Specified by:
getStreamin interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- name of streamcodec- codec for entry- Returns:
- RStream object
-
getStream
Description copied from interface:RedissonRxClientReturns time-series instance with specifiedoptions.Requires Redis 5.0.0 and higher.
- Specified by:
getStreamin interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
options- instance options- Returns:
- RStream object
-
getSearch
Description copied from interface:RedissonRxClientReturns API for RediSearch module- Specified by:
getSearchin interfaceRedissonRxClient- Returns:
- RSearch object
-
getSearch
Description copied from interface:RedissonRxClientReturns API for RediSearch module using defined codec for attribute values.- Specified by:
getSearchin interfaceRedissonRxClient- Returns:
- RSearch object
-
getSearch
Description copied from interface:RedissonRxClientReturns API for RediSearch module with specifiedoptions.- Specified by:
getSearchin interfaceRedissonRxClient- Parameters:
options- instance options- Returns:
- RSearch object
-
getGeo
Description copied from interface:RedissonRxClientReturns geospatial items holder instance byname.- Specified by:
getGeoin interfaceRedissonRxClient- Type Parameters:
V- type of value- Parameters:
name- name of object- Returns:
- Geo object
-
getGeo
Description copied from interface:RedissonRxClientReturns geospatial items holder instance bynameusing provided codec for geospatial members.- Specified by:
getGeoin interfaceRedissonRxClient- Type Parameters:
V- type of value- Parameters:
name- name of objectcodec- codec for value- Returns:
- Geo object
-
getGeo
Description copied from interface:RedissonRxClientReturns geospatial items holder instance with specifiedoptions.- Specified by:
getGeoin interfaceRedissonRxClient- Type Parameters:
V- type of value- Parameters:
options- instance options- Returns:
- Geo object
-
getFairLock
Description copied from interface:RedissonRxClientReturns Lock instance by name.Implements 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.
- Specified by:
getFairLockin interfaceRedissonRxClient- Parameters:
name- name of object- Returns:
- Lock object
-
getFairLock
Description copied from interface:RedissonRxClientReturns Lock instance with specifiedoptions.Implements 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.
- Specified by:
getFairLockin interfaceRedissonRxClient- Parameters:
options- instance options- Returns:
- Lock object
-
getRateLimiter
Description copied from interface:RedissonRxClientReturns rate limiter instance byname- Specified by:
getRateLimiterin interfaceRedissonRxClient- Parameters:
name- of rate limiter- Returns:
- RateLimiter object
-
getRateLimiter
Description copied from interface:RedissonRxClientReturns rate limiter instance with specifiedoptions.- Specified by:
getRateLimiterin interfaceRedissonRxClient- Parameters:
options- instance options- Returns:
- RateLimiter object
-
getBinaryStream
Description copied from interface:RedissonRxClientReturns binary stream holder instance byname- Specified by:
getBinaryStreamin interfaceRedissonRxClient- Parameters:
name- of binary stream- Returns:
- BinaryStream object
-
getBinaryStream
Description copied from interface:RedissonRxClientReturns binary stream holder instance with specifiedoptions.- Specified by:
getBinaryStreamin interfaceRedissonRxClient- Parameters:
options- instance options- Returns:
- BinaryStream object
-
getSemaphore
Description copied from interface:RedissonRxClientReturns semaphore instance by name- Specified by:
getSemaphorein interfaceRedissonRxClient- Parameters:
name- name of object- Returns:
- Semaphore object
-
getSemaphore
Description copied from interface:RedissonRxClientReturns semaphore instance with specifiedoptions.- Specified by:
getSemaphorein interfaceRedissonRxClient- Parameters:
options- instance options- Returns:
- Semaphore object
-
getPermitExpirableSemaphore
Description copied from interface:RedissonRxClientReturns semaphore instance by name. Supports lease time parameter for each acquired permit.- Specified by:
getPermitExpirableSemaphorein interfaceRedissonRxClient- Parameters:
name- name of object- Returns:
- PermitExpirableSemaphore object
-
getPermitExpirableSemaphore
Description copied from interface:RedissonRxClientReturns semaphore instance with specifiedoptions. Supports lease time parameter for each acquired permit.- Specified by:
getPermitExpirableSemaphorein interfaceRedissonRxClient- Parameters:
options- instance options- Returns:
- PermitExpirableSemaphore object
-
getReadWriteLock
Description copied from interface:RedissonRxClientReturns ReadWriteLock instance by name.To increase reliability during failover, all operations wait for propagation to all Redis slaves.
- Specified by:
getReadWriteLockin interfaceRedissonRxClient- Parameters:
name- name of object- Returns:
- Lock object
-
getReadWriteLock
Description copied from interface:RedissonRxClientReturns ReadWriteLock instance with specifiedoptions.To increase reliability during failover, all operations wait for propagation to all Redis slaves.
- Specified by:
getReadWriteLockin interfaceRedissonRxClient- Parameters:
options- instance options- Returns:
- Lock object
-
getLock
Description copied from interface:RedissonRxClientReturns Lock instance by name.Implements 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.
- Specified by:
getLockin interfaceRedissonRxClient- Parameters:
name- name of object- Returns:
- Lock object
-
getLock
Description copied from interface:RedissonRxClientReturns Lock instance with specifiedoptions.Implements 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.
- Specified by:
getLockin interfaceRedissonRxClient- Parameters:
options- instance options- Returns:
- Lock object
-
getSpinLock
Description copied from interface:RedissonRxClientReturns Spin lock instance by name.Implements a non-fair locking so doesn't guarantees an acquire order by threads.
Lock doesn't use a pub/sub mechanism
- Specified by:
getSpinLockin interfaceRedissonRxClient- Parameters:
name- name of object- Returns:
- Lock object
-
getSpinLock
Description copied from interface:RedissonRxClientReturns Spin lock instance by name with specified back off options.Implements a non-fair locking so doesn't guarantees an acquire order by threads.
Lock doesn't use a pub/sub mechanism
- Specified by:
getSpinLockin interfaceRedissonRxClient- Parameters:
name- name of object- Returns:
- Lock object
-
getFencedLock
Description copied from interface:RedissonRxClientReturns Fenced Lock by name.Implements a non-fair locking so doesn't guarantee an acquire order by threads.
- Specified by:
getFencedLockin interfaceRedissonRxClient- Parameters:
name- name of object- Returns:
- Lock object
-
getFencedLock
Description copied from interface:RedissonRxClientReturns Fenced Lock instance with specifiedoptions..Implements a non-fair locking so doesn't guarantee an acquire order by threads.
- Specified by:
getFencedLockin interfaceRedissonRxClient- Parameters:
options- instance options- Returns:
- Lock object
-
getMultiLock
Description copied from interface:RedissonRxClientReturns MultiLock instance associated with specifiedlocks- Specified by:
getMultiLockin interfaceRedissonRxClient- Parameters:
locks- collection of locks- Returns:
- MultiLock object
-
getMultiLock
Description copied from interface:RedissonRxClientReturns RedissonFasterMultiLock instance associated with specifiedgroupandvalues- Specified by:
getMultiLockin interfaceRedissonRxClient- Parameters:
group- the group of valuesvalues- lock values- Returns:
- BatchLock object
-
getMultiLock
- Specified by:
getMultiLockin interfaceRedissonRxClient
-
getRedLock
- Specified by:
getRedLockin interfaceRedissonRxClient
-
getCountDownLatch
Description copied from interface:RedissonRxClientReturns CountDownLatch instance by name.- Specified by:
getCountDownLatchin interfaceRedissonRxClient- Parameters:
name- name of object- Returns:
- CountDownLatch object
-
getCountDownLatch
Description copied from interface:RedissonRxClientReturns countDownLatch instance with specifiedoptions.- Specified by:
getCountDownLatchin interfaceRedissonRxClient- Parameters:
options- instance options- Returns:
- CountDownLatch object
-
getMapCache
Description copied from interface:RedissonRxClientReturns map-based cache instance by name 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
RedissonRxClient.getMap(String, Codec).- Specified by:
getMapCachein interfaceRedissonRxClient- Type Parameters:
K- type of keysV- type of values- Parameters:
name- name of objectcodec- codec for values- Returns:
- MapCache object
-
getMapCache
Description copied from interface:RedissonRxClientReturns map-based cache instance by name. Supports entry eviction with a given MaxIdleTime and TTL settings.If eviction is not required then it's better to use regular map
RedissonRxClient.getMap(String).- Specified by:
getMapCachein interfaceRedissonRxClient- Type Parameters:
K- type of keysV- type of values- Parameters:
name- name of object- Returns:
- MapCache object
-
getMapCache
Description copied from interface:RedissonRxClientReturns map-based cache instance with specifiedoptions. Supports entry eviction with a given MaxIdleTime and TTL settings.If eviction is not required then it's better to use regular map
RedissonRxClient.getMap(org.redisson.api.options.MapOptions).- Specified by:
getMapCachein interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
options- instance options- Returns:
- MapCache object
-
getBucket
Description copied from interface:RedissonRxClientReturns object holder instance by name- Specified by:
getBucketin interfaceRedissonRxClient- Type Parameters:
V- type of value- Parameters:
name- name of object- Returns:
- Bucket object
-
getBucket
Description copied from interface:RedissonRxClientReturns object holder instance by name using provided codec for object.- Specified by:
getBucketin interfaceRedissonRxClient- Type Parameters:
V- type of value- Parameters:
name- name of objectcodec- codec for value- Returns:
- Bucket object
-
getBucket
Description copied from interface:RedissonRxClientReturns object holder instance with specifiedoptions.- Specified by:
getBucketin interfaceRedissonRxClient- Type Parameters:
V- type of value- Parameters:
options- instance options- Returns:
- Bucket object
-
getBuckets
Description copied from interface:RedissonRxClientReturns interface for mass operations with Bucket objects.- Specified by:
getBucketsin interfaceRedissonRxClient- Returns:
- Buckets
-
getBuckets
Description copied from interface:RedissonRxClientReturns interface for mass operations with Bucket objects using provided codec for object.- Specified by:
getBucketsin interfaceRedissonRxClient- Parameters:
codec- codec for bucket objects- Returns:
- Buckets
-
getBuckets
Description copied from interface:RedissonRxClientReturns API for mass operations over Bucket objects with specifiedoptions.- Specified by:
getBucketsin interfaceRedissonRxClient- Parameters:
options- instance options- Returns:
- Buckets object
-
getJsonBucket
Description copied from interface:RedissonRxClientReturns JSON data holder instance by name using provided codec.- Specified by:
getJsonBucketin interfaceRedissonRxClient- Type Parameters:
V- type of value- Parameters:
name- name of objectcodec- codec for values- Returns:
- JsonBucket object
-
getJsonBucket
Description copied from interface:RedissonRxClientReturns JSON data holder instance with specifiedoptions.- Specified by:
getJsonBucketin interfaceRedissonRxClient- Type Parameters:
V- type of value- Parameters:
options- instance options- Returns:
- JsonBucket object
-
getJsonBuckets
Description copied from interface:RedissonRxClientReturns API for mass operations over JsonBucket objects using provided codec for JSON object with default path.- Specified by:
getJsonBucketsin interfaceRedissonRxClient- Parameters:
codec- using provided codec for JSON object with default path.- Returns:
- JsonBuckets
-
getHyperLogLog
Description copied from interface:RedissonRxClientReturns HyperLogLog instance by name.- Specified by:
getHyperLogLogin interfaceRedissonRxClient- Type Parameters:
V- type of values- Parameters:
name- name of object- Returns:
- HyperLogLog object
-
getHyperLogLog
Description copied from interface:RedissonRxClientReturns HyperLogLog instance by name using provided codec for hll objects.- Specified by:
getHyperLogLogin interfaceRedissonRxClient- Type Parameters:
V- type of values- Parameters:
name- name of objectcodec- codec of values- Returns:
- HyperLogLog object
-
getHyperLogLog
Description copied from interface:RedissonRxClientReturns HyperLogLog instance with specifiedoptions.- Specified by:
getHyperLogLogin interfaceRedissonRxClient- Type Parameters:
V- type of value- Parameters:
options- instance options- Returns:
- HyperLogLog object
-
getIdGenerator
Description copied from interface:RedissonRxClientReturns id generator by name.- Specified by:
getIdGeneratorin interfaceRedissonRxClient- Parameters:
name- name of object- Returns:
- IdGenerator object
-
getIdGenerator
Description copied from interface:RedissonRxClientReturns id generator instance with specifiedoptions.- Specified by:
getIdGeneratorin interfaceRedissonRxClient- Parameters:
options- instance options- Returns:
- IdGenerator object
-
getList
Description copied from interface:RedissonRxClientReturns list instance by name.- Specified by:
getListin interfaceRedissonRxClient- Type Parameters:
V- type of values- Parameters:
name- name of object- Returns:
- List object
-
getList
Description copied from interface:RedissonRxClientReturns list instance by name using provided codec for list objects.- Specified by:
getListin interfaceRedissonRxClient- Type Parameters:
V- type of values- Parameters:
name- name of objectcodec- codec for values- Returns:
- List object
-
getList
Description copied from interface:RedissonRxClientReturns list instance with specifiedoptions.- Specified by:
getListin interfaceRedissonRxClient- Type Parameters:
V- type of value- Parameters:
options- instance options- Returns:
- List object
-
getListMultimap
Description copied from interface:RedissonRxClientReturns List based Multimap instance by name.- Specified by:
getListMultimapin interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- name of object- Returns:
- ListMultimap object
-
getListMultimap
Description copied from interface:RedissonRxClientReturns List based Multimap instance by name using provided codec for both map keys and values.- Specified by:
getListMultimapin interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- name of objectcodec- codec for keys and values- Returns:
- RListMultimapReactive object
-
getListMultimap
Description copied from interface:RedissonRxClientReturns List based Multimap instance with specifiedoptions.- Specified by:
getListMultimapin interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
options- instance options- Returns:
- ListMultimap object
-
getListMultimapCache
Description copied from interface:RedissonRxClientReturns List based Multimap cache instance by name. Supports key eviction by specifying a time to live. If eviction is not required then it's better to use regular list multimapRedissonRxClient.getListMultimap(String).- Specified by:
getListMultimapCachein interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- name of object- Returns:
- RListMultimapCacheRx object
-
getListMultimapCache
Description copied from interface:RedissonRxClientReturns List based Multimap cache instance by name using provided codec for both map keys and values. Supports key eviction by specifying a time to live. If eviction is not required then it's better to use regular list multimapRedissonRxClient.getListMultimap(String, Codec).- Specified by:
getListMultimapCachein interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- name of objectcodec- codec for keys and values- Returns:
- RListMultimapCacheRx object
-
getListMultimapCache
Description copied from interface:RedissonRxClientReturns List based Multimap instance by name. Supports key-entry eviction with a given TTL value.If eviction is not required then it's better to use regular map
RedissonRxClient.getSetMultimap(String).- Specified by:
getListMultimapCachein interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
options- instance options- Returns:
- ListMultimapCache object
-
getListMultimapCacheNative
Description copied from interface:RedissonRxClientReturns List based Multimap instance by name. Supports key-entry eviction with a given TTL value. Stores insertion order and allows duplicates for values mapped to key.Uses Redis native commands for entry expiration and not a scheduled eviction task.
Requires Redis 7.4.0 and higher.
- Specified by:
getListMultimapCacheNativein interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- name of object- Returns:
- ListMultimapCache object
-
getListMultimapCacheNative
Description copied from interface:RedissonRxClientReturns List based Multimap instance by name using provided codec for both map keys and values. Supports key-entry eviction with a given TTL value. Stores insertion order and allows duplicates for values mapped to key.Uses Redis native commands for entry expiration and not a scheduled eviction task.
Requires Redis 7.4.0 and higher.
- Specified by:
getListMultimapCacheNativein interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- name of objectcodec- codec for keys and values- Returns:
- ListMultimapCache object
-
getListMultimapCacheNative
Description copied from interface:RedissonRxClientReturns List based Multimap instance by name. Supports key-entry eviction with a given TTL value. Stores insertion order and allows duplicates for values mapped to key.Uses Redis native commands for entry expiration and not a scheduled eviction task.
Requires Redis 7.4.0 and higher.
- Specified by:
getListMultimapCacheNativein interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
options- instance options- Returns:
- ListMultimapCache object
-
getSetMultimap
Description copied from interface:RedissonRxClientReturns Set based Multimap instance by name.- Specified by:
getSetMultimapin interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- name of object- Returns:
- SetMultimap object
-
getSetMultimap
Description copied from interface:RedissonRxClientReturns Set based Multimap instance by name using provided codec for both map keys and values.- Specified by:
getSetMultimapin interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- name of objectcodec- codec for keys and values- Returns:
- SetMultimap object
-
getSetMultimap
Description copied from interface:RedissonRxClientReturns Set based Multimap instance with specifiedoptions.- Specified by:
getSetMultimapin interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
options- instance options- Returns:
- SetMultimap object
-
getSetMultimapCache
Description copied from interface:RedissonRxClientReturns Set based Multimap cache instance by name. Supports key eviction by specifying a time to live. If eviction is not required then it's better to use regular set multimapRedissonRxClient.getSetMultimap(String).- Specified by:
getSetMultimapCachein interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- name of object- Returns:
- RSetMultimapCacheRx object
-
getSetMultimapCache
Description copied from interface:RedissonRxClientReturns Set based Multimap cache instance by name using provided codec for both map keys and values. Supports key eviction by specifying a time to live. If eviction is not required then it's better to use regular set multimapRedissonRxClient.getSetMultimap(String, Codec).- Specified by:
getSetMultimapCachein interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- name of objectcodec- codec for keys and values- Returns:
- RSetMultimapCacheRx object
-
getSetMultimapCache
Description copied from interface:RedissonRxClientReturns Set based Multimap instance with specifiedoptions. Supports key-entry eviction with a given TTL value.If eviction is not required then it's better to use regular map
RedissonRxClient.getSetMultimap(PlainOptions).- Specified by:
getSetMultimapCachein interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
options- instance options- Returns:
- SetMultimapCache object
-
getSetMultimapCacheNative
Description copied from interface:RedissonRxClientReturns Set based Multimap instance by name. Supports key-entry eviction with a given TTL value. Doesn't allow duplications for values mapped to key.Uses Redis native commands for entry expiration and not a scheduled eviction task.
Requires Redis 7.4.0 and higher.
- Specified by:
getSetMultimapCacheNativein interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- name of object- Returns:
- SetMultimapCache object
-
getSetMultimapCacheNative
Description copied from interface:RedissonRxClientReturns Set based Multimap instance by name using provided codec for both map keys and values. Supports key-entry eviction with a given TTL value. Doesn't allow duplications for values mapped to key.Uses Redis native commands for entry expiration and not a scheduled eviction task.
Requires Redis 7.4.0 and higher.
- Specified by:
getSetMultimapCacheNativein interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- name of objectcodec- codec for keys and values- Returns:
- SetMultimapCache object
-
getSetMultimapCacheNative
Description copied from interface:RedissonRxClientReturns Set based Multimap instance with specifiedoptions. Supports key-entry eviction with a given TTL value. Doesn't allow duplications for values mapped to key.Uses Redis native commands for entry expiration and not a scheduled eviction task.
Requires Redis 7.4.0 and higher.
- Specified by:
getSetMultimapCacheNativein interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
options- instance options- Returns:
- SetMultimapCache object
-
getMap
Description copied from interface:RedissonRxClientReturns map instance by name.- Specified by:
getMapin interfaceRedissonRxClient- Type Parameters:
K- type of keysV- type of values- Parameters:
name- name of object- Returns:
- Map object
-
getMap
Description copied from interface:RedissonRxClientReturns map instance by name using provided codec for both map keys and values.- Specified by:
getMapin interfaceRedissonRxClient- Type Parameters:
K- type of keysV- type of values- Parameters:
name- name of objectcodec- codec for keys and values- Returns:
- Map object
-
getMap
Description copied from interface:RedissonRxClientReturns map instance by name.- Specified by:
getMapin interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
options- instance options- Returns:
- Map object
-
getSet
Description copied from interface:RedissonRxClientReturns set instance by name.- Specified by:
getSetin interfaceRedissonRxClient- Type Parameters:
V- type of values- Parameters:
name- name of object- Returns:
- Set object
-
getSet
Description copied from interface:RedissonRxClientReturns set instance by name using provided codec for set objects.- Specified by:
getSetin interfaceRedissonRxClient- Type Parameters:
V- type of values- Parameters:
name- name of setcodec- codec for values- Returns:
- Set object
-
getSet
Description copied from interface:RedissonRxClientReturns set instance with specifiedoptions.- Specified by:
getSetin interfaceRedissonRxClient- Type Parameters:
V- type of value- Parameters:
options- instance options- Returns:
- Set object
-
getScoredSortedSet
Description copied from interface:RedissonRxClientReturns Redis Sorted Set instance by name. This sorted set sorts objects by object score.- Specified by:
getScoredSortedSetin interfaceRedissonRxClient- Type Parameters:
V- type of values- Parameters:
name- of scored sorted set- Returns:
- ScoredSortedSet object
-
getScoredSortedSet
Description copied from interface:RedissonRxClientReturns Redis Sorted Set instance by name using provided codec for sorted set objects. This sorted set sorts objects by object score.- Specified by:
getScoredSortedSetin interfaceRedissonRxClient- Type Parameters:
V- type of values- Parameters:
name- name of scored sorted setcodec- codec for values- Returns:
- ScoredSortedSet object
-
getScoredSortedSet
Description copied from interface:RedissonRxClientReturns Redis Sorted Set instance with specifiedoptions. This sorted set sorts objects by object score.- Specified by:
getScoredSortedSetin interfaceRedissonRxClient- Type Parameters:
V- type of value- Parameters:
options- instance options- Returns:
- ScoredSortedSet object
-
getLexSortedSet
Description copied from interface:RedissonRxClientReturns String based Redis Sorted Set instance by name All elements are inserted with the same score during addition, in order to force lexicographical ordering- Specified by:
getLexSortedSetin interfaceRedissonRxClient- Parameters:
name- name of object- Returns:
- LexSortedSet object
-
getLexSortedSet
Description copied from interface:RedissonRxClientReturns String based Redis Sorted Set instance with specifiedoptions. All elements are inserted with the same score during addition, in order to force lexicographical ordering- Specified by:
getLexSortedSetin interfaceRedissonRxClient- Parameters:
options- instance options- Returns:
- LexSortedSet object
-
getShardedTopic
Description copied from interface:RedissonRxClientReturns Sharded Topic instance by name.Messages are delivered to message listeners connected to the same Topic.
- Specified by:
getShardedTopicin interfaceRedissonRxClient- Parameters:
name- name of object- Returns:
- Topic object
-
getShardedTopic
Description copied from interface:RedissonRxClientReturns Sharded Topic instance by name using provided codec for messages.Messages are delivered to message listeners connected to the same Topic.
- Specified by:
getShardedTopicin interfaceRedissonRxClient- Parameters:
name- name of objectcodec- codec for message- Returns:
- Topic object
-
getShardedTopic
Description copied from interface:RedissonRxClientReturns Sharded Topic instance with specifiedoptions.Messages are delivered to message listeners connected to the same Topic.
- Specified by:
getShardedTopicin interfaceRedissonRxClient- Parameters:
options- instance options- Returns:
- Topic object
-
getTopic
Description copied from interface:RedissonRxClientReturns topic instance by name.- Specified by:
getTopicin interfaceRedissonRxClient- Parameters:
name- name of object- Returns:
- Topic object
-
getTopic
Description copied from interface:RedissonRxClientReturns topic instance by name using provided codec for messages.- Specified by:
getTopicin interfaceRedissonRxClient- Parameters:
name- name of objectcodec- codec for message- Returns:
- Topic object
-
getTopic
Description copied from interface:RedissonRxClientReturns topic instance with specifiedoptions.Messages are delivered to message listeners connected to the same Topic.
- Specified by:
getTopicin interfaceRedissonRxClient- Parameters:
options- instance options- Returns:
- Topic object
-
getReliableTopic
Description copied from interface:RedissonRxClientReturns reliable topic instance by name.Dedicated 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.
- Specified by:
getReliableTopicin interfaceRedissonRxClient- Parameters:
name- name of object- Returns:
- ReliableTopic object
-
getReliableTopic
Description copied from interface:RedissonRxClientReturns reliable topic instance by name using provided codec for messages.Dedicated 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.
- Specified by:
getReliableTopicin interfaceRedissonRxClient- Parameters:
name- name of objectcodec- codec for message- Returns:
- ReliableTopic object
-
getReliableTopic
Description copied from interface:RedissonRxClientReturns reliable topic instance with specifiedoptions.Dedicated 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.
- Specified by:
getReliableTopicin interfaceRedissonRxClient- Parameters:
options- instance options- Returns:
- ReliableTopic object
-
getPatternTopic
Description copied from interface:RedissonRxClientReturns topic instance satisfies by pattern name. Supported glob-style patterns: h?llo subscribes to hello, hallo and hxllo h*llo subscribes to hllo and heeeello h[ae]llo subscribes to hello and hallo, but not hillo- Specified by:
getPatternTopicin interfaceRedissonRxClient- Parameters:
pattern- of the topic- Returns:
- PatternTopic object
-
getPatternTopic
Description copied from interface:RedissonRxClientReturns topic instance satisfies by pattern name using provided codec for messages. Supported glob-style patterns: h?llo subscribes to hello, hallo and hxllo h*llo subscribes to hllo and heeeello h[ae]llo subscribes to hello and hallo, but not hillo- Specified by:
getPatternTopicin interfaceRedissonRxClient- Parameters:
pattern- of the topiccodec- codec for message- Returns:
- PatternTopic object
-
getPatternTopic
Description copied from interface:RedissonRxClientReturns topic instance satisfies pattern name and specifiedoptions.. Supported glob-style patterns: h?llo subscribes to hello, hallo and hxllo h*llo subscribes to hllo and heeeello h[ae]llo subscribes to hello and hallo, but not hillo- Specified by:
getPatternTopicin interfaceRedissonRxClient- Parameters:
options- instance options- Returns:
- PatterTopic object
-
getQueue
Description copied from interface:RedissonRxClientReturns queue instance by name.- Specified by:
getQueuein interfaceRedissonRxClient- Type Parameters:
V- type of values- Parameters:
name- name of object- Returns:
- Queue object
-
getQueue
Description copied from interface:RedissonRxClientReturns queue instance by name using provided codec for queue objects.- Specified by:
getQueuein interfaceRedissonRxClient- Type Parameters:
V- type of values- Parameters:
name- name of objectcodec- codec for values- Returns:
- Queue object
-
getQueue
Description copied from interface:RedissonRxClientReturns unbounded queue instance with specifiedoptions.- Specified by:
getQueuein interfaceRedissonRxClient- Type Parameters:
V- type of value- Parameters:
options- instance options- Returns:
- queue object
-
getRingBuffer
Description copied from interface:RedissonRxClientReturns RingBuffer based queue.- Specified by:
getRingBufferin interfaceRedissonRxClient- Type Parameters:
V- value type- Parameters:
name- name of object- Returns:
- RingBuffer object
-
getRingBuffer
Description copied from interface:RedissonRxClientReturns RingBuffer based queue.- Specified by:
getRingBufferin interfaceRedissonRxClient- Type Parameters:
V- value type- Parameters:
name- name of objectcodec- codec for values- Returns:
- RingBuffer object
-
getRingBuffer
Description copied from interface:RedissonRxClientReturns RingBuffer based queue instance with specifiedoptions.- Specified by:
getRingBufferin interfaceRedissonRxClient- Type Parameters:
V- value type- Parameters:
options- instance options- Returns:
- RingBuffer object
-
getBlockingQueue
Description copied from interface:RedissonRxClientReturns blocking queue instance by name.- Specified by:
getBlockingQueuein interfaceRedissonRxClient- Type Parameters:
V- type of values- Parameters:
name- name of object- Returns:
- BlockingQueue object
-
getBlockingQueue
Description copied from interface:RedissonRxClientReturns blocking queue instance by name using provided codec for queue objects.- Specified by:
getBlockingQueuein interfaceRedissonRxClient- Type Parameters:
V- type of values- Parameters:
name- name of objectcodec- code for values- Returns:
- BlockingQueue object
-
getBlockingQueue
Description copied from interface:RedissonRxClientReturns unbounded blocking queue instance with specifiedoptions.- Specified by:
getBlockingQueuein interfaceRedissonRxClient- Type Parameters:
V- type of value- Parameters:
options- instance options- Returns:
- BlockingQueue object
-
getDeque
Description copied from interface:RedissonRxClientReturns deque instance by name.- Specified by:
getDequein interfaceRedissonRxClient- Type Parameters:
V- type of values- Parameters:
name- name of object- Returns:
- Deque object
-
getDeque
Description copied from interface:RedissonRxClientReturns deque instance by name using provided codec for deque objects.- Specified by:
getDequein interfaceRedissonRxClient- Type Parameters:
V- type of values- Parameters:
name- name of objectcodec- coded for values- Returns:
- Deque object
-
getDeque
Description copied from interface:RedissonRxClientReturns unbounded deque instance with specifiedoptions.- Specified by:
getDequein interfaceRedissonRxClient- Type Parameters:
V- type of value- Parameters:
options- instance options- Returns:
- Deque object
-
getTimeSeries
Description copied from interface:RedissonRxClientReturns time-series instance byname- Specified by:
getTimeSeriesin interfaceRedissonRxClient- Type Parameters:
V- value typeL- label type- Parameters:
name- name of instance- Returns:
- RTimeSeries object
-
getTimeSeries
Description copied from interface:RedissonRxClientReturns time-series instance bynameusing providedcodecfor values.- Specified by:
getTimeSeriesin interfaceRedissonRxClient- Type Parameters:
V- value typeL- label type- Parameters:
name- name of instancecodec- codec for values- Returns:
- RTimeSeries object
-
getTimeSeries
Description copied from interface:RedissonRxClientReturns time-series instance with specifiedoptions.- Specified by:
getTimeSeriesin interfaceRedissonRxClient- Type Parameters:
V- value typeL- label type- Parameters:
options- instance options- Returns:
- RTimeSeries object
-
getSetCache
Description copied from interface:RedissonRxClientReturns set-based cache instance byname. Supports value eviction with a given TTL value.If eviction is not required then it's better to use regular map
RedissonRxClient.getSet(String, Codec).- Specified by:
getSetCachein interfaceRedissonRxClient- Type Parameters:
V- type of values- Parameters:
name- name of object- Returns:
- SetCache object
-
getSetCache
Description copied from interface:RedissonRxClientReturns set-based cache instance byname. Supports value eviction with a given TTL value.If eviction is not required then it's better to use regular map
RedissonRxClient.getSet(String, Codec).- Specified by:
getSetCachein interfaceRedissonRxClient- Type Parameters:
V- type of values- Parameters:
name- name of objectcodec- codec for values- Returns:
- SetCache object
-
getSetCache
Description copied from interface:RedissonRxClientReturns set-based cache instance with specifiedoptions. Supports value eviction with a given TTL value.If eviction is not required then it's better to use regular map
RedissonRxClient.getSet(PlainOptions).- Specified by:
getSetCachein interfaceRedissonRxClient- Type Parameters:
V- type of value- Parameters:
options- instance options- Returns:
- SetCache object
-
getAtomicLong
Description copied from interface:RedissonRxClientReturns "atomic long" instance by name.- Specified by:
getAtomicLongin interfaceRedissonRxClient- Parameters:
name- of the "atomic long"- Returns:
- AtomicLong object
-
getAtomicLong
Description copied from interface:RedissonRxClientReturns atomicLong instance with specifiedoptions.- Specified by:
getAtomicLongin interfaceRedissonRxClient- Parameters:
options- instance options- Returns:
- AtomicLong object
-
getAtomicDouble
Description copied from interface:RedissonRxClientReturns "atomic double" instance by name.- Specified by:
getAtomicDoublein interfaceRedissonRxClient- Parameters:
name- of the "atomic double"- Returns:
- AtomicLong object
-
getAtomicDouble
Description copied from interface:RedissonRxClientReturns atomicDouble instance with specifiedoptions.- Specified by:
getAtomicDoublein interfaceRedissonRxClient- Parameters:
options- instance options- Returns:
- AtomicDouble object
-
getRemoteService
Description copied from interface:RedissonRxClientReturns object for remote operations prefixed with the default name (redisson_remote_service)- Specified by:
getRemoteServicein interfaceRedissonRxClient- Returns:
- RemoteService object
-
getRemoteService
Description copied from interface:RedissonRxClientReturns object for remote operations prefixed with the specified name- Specified by:
getRemoteServicein interfaceRedissonRxClient- Parameters:
name- the name used as the Redis key prefix for the services- Returns:
- RemoteService object
-
getRemoteService
Description copied from interface:RedissonRxClientReturns object for remote operations prefixed with the default name (redisson_remote_service) and uses provided codec for method arguments and result.- Specified by:
getRemoteServicein interfaceRedissonRxClient- Parameters:
codec- codec for response and request- Returns:
- RemoteService object
-
getRemoteService
Description copied from interface:RedissonRxClientReturns object for remote operations prefixed with the specified name and uses provided codec for method arguments and result.- Specified by:
getRemoteServicein interfaceRedissonRxClient- Parameters:
name- the name used as the Redis key prefix for the servicescodec- codec for response and request- Returns:
- RemoteService object
-
getRemoteService
Description copied from interface:RedissonRxClientReturns object for remote operations prefixed with specifiedoptions.- Specified by:
getRemoteServicein interfaceRedissonRxClient- Parameters:
options- instance options- Returns:
- RemoteService object
-
getBitSet
Description copied from interface:RedissonRxClientReturns bitSet instance by name.- Specified by:
getBitSetin interfaceRedissonRxClient- Parameters:
name- name of object- Returns:
- BitSet object
-
getBitSet
Description copied from interface:RedissonRxClientReturns bitSet instance with specifiedoptions.- Specified by:
getBitSetin interfaceRedissonRxClient- Parameters:
options- instance options- Returns:
- BitSet object
-
getBloomFilter
Description copied from interface:RedissonRxClientReturns bloom filter instance by name.- Specified by:
getBloomFilterin interfaceRedissonRxClient- Type Parameters:
V- type of value- Parameters:
name- name of object- Returns:
- BloomFilter object
-
getBloomFilter
Description copied from interface:RedissonRxClientReturns bloom filter instance by name using provided codec for objects.- Specified by:
getBloomFilterin interfaceRedissonRxClient- Type Parameters:
V- type of value- Parameters:
name- name of objectcodec- codec for values- Returns:
- BloomFilter object
-
getBloomFilter
Description copied from interface:RedissonRxClientReturns bloom filter instance with specifiedoptions.- Specified by:
getBloomFilterin interfaceRedissonRxClient- Type Parameters:
V- type of value- Parameters:
options- instance options- Returns:
- BloomFilter object
-
getFunction
Description copied from interface:RedissonRxClientReturns interface for Redis Function feature- Specified by:
getFunctionin interfaceRedissonRxClient- Returns:
- function object
-
getFunction
Description copied from interface:RedissonRxClientReturns interface for Redis Function feature using provided codec- Specified by:
getFunctionin interfaceRedissonRxClient- Parameters:
codec- codec for params and result- Returns:
- function interface
-
getFunction
Description copied from interface:RedissonRxClientReturns interface for Redis Function feature with specifiedoptions.- Specified by:
getFunctionin interfaceRedissonRxClient- Parameters:
options- instance options- Returns:
- function object
-
getScript
Description copied from interface:RedissonRxClientReturns script operations object- Specified by:
getScriptin interfaceRedissonRxClient- Returns:
- Script object
-
getScript
Description copied from interface:RedissonRxClientReturns script operations object using provided codec.- Specified by:
getScriptin interfaceRedissonRxClient- Parameters:
codec- codec for params and result- Returns:
- Script object
-
getScript
Description copied from interface:RedissonRxClientReturns script operations object with specifiedoptions.- Specified by:
getScriptin interfaceRedissonRxClient- Parameters:
options- instance options- Returns:
- Script object
-
createBatch
Description copied from interface:RedissonRxClientReturn batch object which executes group of command in pipeline. See http://redis.io/topics/pipelining- Specified by:
createBatchin interfaceRedissonRxClient- Returns:
- Batch object
-
createBatch
Description copied from interface:RedissonRxClientReturn batch object which executes group of command in pipeline. See http://redis.io/topics/pipelining- Specified by:
createBatchin interfaceRedissonRxClient- Parameters:
options- batch configuration- Returns:
- Batch object
-
getKeys
Description copied from interface:RedissonRxClientReturns keys operations. Each of Redis/Redisson object associated with own key- Specified by:
getKeysin interfaceRedissonRxClient- Returns:
- Keys object
-
getKeys
Description copied from interface:RedissonRxClientReturns interface for operations over Redis keys with specifiedoptions. Each of Redis/Redisson object is associated with own key.- Specified by:
getKeysin interfaceRedissonRxClient- Returns:
- Keys object
-
getConfig
Description copied from interface:RedissonRxClientAllows to get configuration provided during Redisson instance creation. Further changes on this object not affect Redisson instance.- Specified by:
getConfigin interfaceRedissonRxClient- Returns:
- Config object
-
getNodesGroup
Description copied from interface:RedissonRxClient- Specified by:
getNodesGroupin interfaceRedissonRxClient- Returns:
- NodesGroup object
-
getClusterNodesGroup
Description copied from interface:RedissonRxClient- Specified by:
getClusterNodesGroupin interfaceRedissonRxClient- Returns:
- NodesGroup object
-
shutdown
public void shutdown()Description copied from interface:RedissonRxClientUseRedissonClient.shutdown()instead- Specified by:
shutdownin interfaceRedissonRxClient
-
isShutdown
public boolean isShutdown()Description copied from interface:RedissonRxClientReturnstrueif this Redisson instance has been shut down.- Specified by:
isShutdownin interfaceRedissonRxClient- Returns:
trueif this Redisson instance has been shut down otherwisefalse
-
isShuttingDown
public boolean isShuttingDown()Description copied from interface:RedissonRxClientReturnstrueif this Redisson instance was started to be shutdown or was shutdownRedissonRxClient.isShutdown()already.- Specified by:
isShuttingDownin interfaceRedissonRxClient- Returns:
trueif this Redisson instance was started to be shutdown or was shutdownRedissonRxClient.isShutdown()already otherwisefalse
-
getMapCache
Description copied from interface:RedissonRxClientReturns map-based cache instance bynameusing providedcodecfor 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
RedissonRxClient.getMap(String, Codec, MapOptions).- Specified by:
getMapCachein interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- object namecodec- codec for keys and valuesoptions- map options- Returns:
- MapCache object
-
getMapCache
Description copied from interface:RedissonRxClientReturns map-based cache instance by name. Supports entry eviction with a given MaxIdleTime and TTL settings.If eviction is not required then it's better to use regular map
RedissonRxClient.getMap(String, MapOptions).- Specified by:
getMapCachein interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- name of objectoptions- map options- Returns:
- MapCache object
-
getMapCacheNative
Description copied from interface:RedissonRxClientReturns map instance by name. Supports entry eviction with a given TTL.Requires Redis 7.4.0 and higher.
- Specified by:
getMapCacheNativein interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- name of object- Returns:
- Map object
-
getMapCacheNative
Description copied from interface:RedissonRxClientReturns map instance by name using provided codec for both map keys and values. Supports entry eviction with a given TTL.Requires Redis 7.4.0 and higher.
- Specified by:
getMapCacheNativein interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- name of objectcodec- codec for keys and values- Returns:
- Map object
-
getMapCacheNative
Description copied from interface:RedissonRxClientReturns map instance. Supports entry eviction with a given TTL. Configured by the parameters of the options-object.Requires Redis 7.4.0 and higher.
- Specified by:
getMapCacheNativein interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
options- instance options- Returns:
- Map object
-
getMap
Description copied from interface:RedissonRxClientReturns map instance by name.- Specified by:
getMapin interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- name of objectoptions- map options- Returns:
- Map object
-
getMap
Description copied from interface:RedissonRxClientReturns map instance by name using provided codec for both map keys and values.- Specified by:
getMapin interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- name of objectcodec- codec for keys and valuesoptions- map options- Returns:
- Map object
-
getLocalCachedMap
public <K,V> RLocalCachedMapRx<K,V> getLocalCachedMap(String name, LocalCachedMapOptions<K, V> options) Description copied from interface:RedissonRxClientReturns local cached map instance by name. Configured by parameters of options-object.- Specified by:
getLocalCachedMapin interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- name of objectoptions- local map options- Returns:
- LocalCachedMap object
-
getLocalCachedMap
public <K,V> RLocalCachedMapRx<K,V> getLocalCachedMap(String name, Codec codec, LocalCachedMapOptions<K, V> options) Description copied from interface:RedissonRxClientReturns local cached map instance by name using provided codec. Configured by parameters of options-object.- Specified by:
getLocalCachedMapin interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- name of objectcodec- codec for keys and valuesoptions- local map options- Returns:
- LocalCachedMap object
-
getLocalCachedMap
Description copied from interface:RedissonRxClientReturns local cached map instance with specifiedoptions.- Specified by:
getLocalCachedMapin interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
options- instance options- Returns:
- LocalCachedMap object
-
getLocalCachedMapCache
public <K,V> RLocalCachedMapCacheRx<K,V> getLocalCachedMapCache(String name, LocalCachedMapCacheOptions<K, V> options) Description copied from interface:RedissonRxClientReturns local cached map cache instance by name. Configured by parameters of options-object.- Specified by:
getLocalCachedMapCachein interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- - name of objectoptions- - local map options- Returns:
- LocalCachedMapCache object
-
getLocalCachedMapCache
public <K,V> RLocalCachedMapCacheRx<K,V> getLocalCachedMapCache(String name, Codec codec, LocalCachedMapCacheOptions<K, V> options) Description copied from interface:RedissonRxClientReturns local cached map cache instance by name using provided codec. Configured by parameters of options-object.- Specified by:
getLocalCachedMapCachein interfaceRedissonRxClient- Type Parameters:
K- type of keyV- type of value- Parameters:
name- - name of objectcodec- - codec for keys and valuesoptions- - local map options- Returns:
- LocalCachedMap object
-
createTransaction
Description copied from interface:RedissonRxClientCreates transaction with READ_COMMITTED isolation level.- Specified by:
createTransactionin interfaceRedissonRxClient- Parameters:
options- transaction configuration- Returns:
- Transaction object
-
getBlockingDeque
Description copied from interface:RedissonRxClientReturns unbounded blocking deque instance by name.- Specified by:
getBlockingDequein interfaceRedissonRxClient- Type Parameters:
V- type of value- Parameters:
name- name of object- Returns:
- BlockingDeque object
-
getBlockingDeque
Description copied from interface:RedissonRxClientReturns unbounded blocking deque instance by name using provided codec for deque objects.- Specified by:
getBlockingDequein interfaceRedissonRxClient- Type Parameters:
V- type of value- Parameters:
name- name of objectcodec- deque objects codec- Returns:
- BlockingDeque object
-
getBlockingDeque
Description copied from interface:RedissonRxClientReturns unbounded blocking deque instance with specifiedoptions.- Specified by:
getBlockingDequein interfaceRedissonRxClient- Type Parameters:
V- type of value- Parameters:
options- instance options- Returns:
- BlockingDeque object
-
getTransferQueue
Description copied from interface:RedissonRxClientReturns transfer queue instance by name.- Specified by:
getTransferQueuein interfaceRedissonRxClient- Type Parameters:
V- type of values- Parameters:
name- name of object- Returns:
- TransferQueue object
-
getTransferQueue
Description copied from interface:RedissonRxClientReturns transfer queue instance by name using provided codec for queue objects.- Specified by:
getTransferQueuein interfaceRedissonRxClient- Type Parameters:
V- type of values- Parameters:
name- name of objectcodec- code for values- Returns:
- TransferQueue object
-
getTransferQueue
Description copied from interface:RedissonRxClientReturns transfer queue instance with specifiedoptions.- Specified by:
getTransferQueuein interfaceRedissonRxClient- Type Parameters:
V- type of values- Parameters:
options- instance options- Returns:
- TransferQueue object
-
getId
Description copied from interface:RedissonRxClientReturns id of this Redisson instance- Specified by:
getIdin interfaceRedissonRxClient- Returns:
- id
-