Class RedissonReactiveClusterKeyCommands
- java.lang.Object
-
- org.redisson.spring.data.connection.RedissonReactiveKeyCommands
-
- org.redisson.spring.data.connection.RedissonReactiveClusterKeyCommands
-
- All Implemented Interfaces:
org.springframework.data.redis.connection.ReactiveClusterKeyCommands,org.springframework.data.redis.connection.ReactiveKeyCommands
public class RedissonReactiveClusterKeyCommands extends RedissonReactiveKeyCommands implements org.springframework.data.redis.connection.ReactiveClusterKeyCommands
- Author:
- Nikita Koksharov
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.springframework.data.redis.connection.ReactiveKeyCommands
org.springframework.data.redis.connection.ReactiveKeyCommands.ExpireAtCommand, org.springframework.data.redis.connection.ReactiveKeyCommands.ExpireCommand, org.springframework.data.redis.connection.ReactiveKeyCommands.MoveCommand, org.springframework.data.redis.connection.ReactiveKeyCommands.RenameCommand
-
-
Constructor Summary
Constructors Constructor Description RedissonReactiveClusterKeyCommands(CommandReactiveExecutor executorService)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<List<ByteBuffer>>keys(org.springframework.data.redis.connection.RedisClusterNode node, ByteBuffer pattern)reactor.core.publisher.Mono<ByteBuffer>randomKey(org.springframework.data.redis.connection.RedisClusterNode node)reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.BooleanResponse<org.springframework.data.redis.connection.ReactiveKeyCommands.RenameCommand>>rename(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveKeyCommands.RenameCommand> commands)reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.BooleanResponse<org.springframework.data.redis.connection.ReactiveKeyCommands.RenameCommand>>renameNX(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveKeyCommands.RenameCommand> commands)static byte[]toByteArray(ByteBuffer buffer)-
Methods inherited from class org.redisson.spring.data.connection.RedissonReactiveKeyCommands
del, encodingOf, exists, expire, expireAt, idletime, keys, mDel, move, mUnlink, persist, pExpire, pExpireAt, pTtl, randomKey, refcount, scan, touch, ttl, type, unlink
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.data.redis.connection.ReactiveKeyCommands
del, del, encodingOf, exists, exists, expire, expire, expireAt, expireAt, idletime, keys, keys, mDel, mDel, move, move, mUnlink, mUnlink, persist, persist, pExpire, pExpire, pExpireAt, pExpireAt, pTtl, pTtl, randomKey, refcount, rename, renameNX, scan, scan, touch, touch, ttl, ttl, type, type, unlink, unlink
-
-
-
-
Constructor Detail
-
RedissonReactiveClusterKeyCommands
public RedissonReactiveClusterKeyCommands(CommandReactiveExecutor executorService)
-
-
Method Detail
-
keys
public reactor.core.publisher.Mono<List<ByteBuffer>> keys(org.springframework.data.redis.connection.RedisClusterNode node, ByteBuffer pattern)
- Specified by:
keysin interfaceorg.springframework.data.redis.connection.ReactiveClusterKeyCommands
-
randomKey
public reactor.core.publisher.Mono<ByteBuffer> randomKey(org.springframework.data.redis.connection.RedisClusterNode node)
- Specified by:
randomKeyin interfaceorg.springframework.data.redis.connection.ReactiveClusterKeyCommands
-
rename
public reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.BooleanResponse<org.springframework.data.redis.connection.ReactiveKeyCommands.RenameCommand>> rename(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveKeyCommands.RenameCommand> commands)
- Specified by:
renamein interfaceorg.springframework.data.redis.connection.ReactiveKeyCommands- Overrides:
renamein classRedissonReactiveKeyCommands
-
renameNX
public reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.BooleanResponse<org.springframework.data.redis.connection.ReactiveKeyCommands.RenameCommand>> renameNX(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveKeyCommands.RenameCommand> commands)
- Specified by:
renameNXin interfaceorg.springframework.data.redis.connection.ReactiveKeyCommands- Overrides:
renameNXin classRedissonReactiveKeyCommands
-
toByteArray
public static byte[] toByteArray(ByteBuffer buffer)
-
-