Class RedissonReactiveKeyCommands
- java.lang.Object
-
- org.redisson.spring.data.connection.RedissonReactiveKeyCommands
-
- All Implemented Interfaces:
org.springframework.data.redis.connection.ReactiveKeyCommands
- Direct Known Subclasses:
RedissonReactiveClusterKeyCommands
public class RedissonReactiveKeyCommands extends Object implements org.springframework.data.redis.connection.ReactiveKeyCommands
- 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 RedissonReactiveKeyCommands(CommandReactiveExecutor executorService)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.NumericResponse<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand,Long>>del(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand> keys)reactor.core.publisher.Mono<org.springframework.data.redis.connection.ValueEncoding>encodingOf(ByteBuffer key)reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.BooleanResponse<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand>>exists(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand> keys)reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.BooleanResponse<org.springframework.data.redis.connection.ReactiveKeyCommands.ExpireCommand>>expire(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveKeyCommands.ExpireCommand> commands)reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.BooleanResponse<org.springframework.data.redis.connection.ReactiveKeyCommands.ExpireAtCommand>>expireAt(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveKeyCommands.ExpireAtCommand> commands)reactor.core.publisher.Mono<Duration>idletime(ByteBuffer key)reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.MultiValueResponse<ByteBuffer,ByteBuffer>>keys(org.reactivestreams.Publisher<ByteBuffer> patterns)reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.NumericResponse<List<ByteBuffer>,Long>>mDel(org.reactivestreams.Publisher<List<ByteBuffer>> keys)reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.BooleanResponse<org.springframework.data.redis.connection.ReactiveKeyCommands.MoveCommand>>move(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveKeyCommands.MoveCommand> commands)reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.NumericResponse<List<ByteBuffer>,Long>>mUnlink(org.reactivestreams.Publisher<List<ByteBuffer>> keys)reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.BooleanResponse<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand>>persist(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand> commands)reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.BooleanResponse<org.springframework.data.redis.connection.ReactiveKeyCommands.ExpireCommand>>pExpire(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveKeyCommands.ExpireCommand> commands)reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.BooleanResponse<org.springframework.data.redis.connection.ReactiveKeyCommands.ExpireAtCommand>>pExpireAt(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveKeyCommands.ExpireAtCommand> commands)reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.NumericResponse<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand,Long>>pTtl(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand> commands)reactor.core.publisher.Mono<ByteBuffer>randomKey()reactor.core.publisher.Mono<Long>refcount(ByteBuffer key)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)reactor.core.publisher.Flux<ByteBuffer>scan(org.springframework.data.redis.core.ScanOptions options)static byte[]toByteArray(ByteBuffer buffer)reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.NumericResponse<Collection<ByteBuffer>,Long>>touch(org.reactivestreams.Publisher<Collection<ByteBuffer>> keys)reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.NumericResponse<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand,Long>>ttl(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand> commands)reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.CommandResponse<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand,org.springframework.data.redis.connection.DataType>>type(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand> keys)reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.NumericResponse<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand,Long>>unlink(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand> keys)
-
-
-
Constructor Detail
-
RedissonReactiveKeyCommands
public RedissonReactiveKeyCommands(CommandReactiveExecutor executorService)
-
-
Method Detail
-
exists
public reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.BooleanResponse<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand>> exists(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand> keys)
- Specified by:
existsin interfaceorg.springframework.data.redis.connection.ReactiveKeyCommands
-
type
public reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.CommandResponse<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand,org.springframework.data.redis.connection.DataType>> type(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand> keys)
- Specified by:
typein interfaceorg.springframework.data.redis.connection.ReactiveKeyCommands
-
touch
public reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.NumericResponse<Collection<ByteBuffer>,Long>> touch(org.reactivestreams.Publisher<Collection<ByteBuffer>> keys)
- Specified by:
touchin interfaceorg.springframework.data.redis.connection.ReactiveKeyCommands
-
keys
public reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.MultiValueResponse<ByteBuffer,ByteBuffer>> keys(org.reactivestreams.Publisher<ByteBuffer> patterns)
- Specified by:
keysin interfaceorg.springframework.data.redis.connection.ReactiveKeyCommands
-
scan
public reactor.core.publisher.Flux<ByteBuffer> scan(org.springframework.data.redis.core.ScanOptions options)
- Specified by:
scanin interfaceorg.springframework.data.redis.connection.ReactiveKeyCommands
-
randomKey
public reactor.core.publisher.Mono<ByteBuffer> randomKey()
- Specified by:
randomKeyin interfaceorg.springframework.data.redis.connection.ReactiveKeyCommands
-
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
-
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
-
del
public reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.NumericResponse<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand,Long>> del(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand> keys)
- Specified by:
delin interfaceorg.springframework.data.redis.connection.ReactiveKeyCommands
-
mDel
public reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.NumericResponse<List<ByteBuffer>,Long>> mDel(org.reactivestreams.Publisher<List<ByteBuffer>> keys)
- Specified by:
mDelin interfaceorg.springframework.data.redis.connection.ReactiveKeyCommands
-
unlink
public reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.NumericResponse<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand,Long>> unlink(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand> keys)
- Specified by:
unlinkin interfaceorg.springframework.data.redis.connection.ReactiveKeyCommands
-
mUnlink
public reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.NumericResponse<List<ByteBuffer>,Long>> mUnlink(org.reactivestreams.Publisher<List<ByteBuffer>> keys)
- Specified by:
mUnlinkin interfaceorg.springframework.data.redis.connection.ReactiveKeyCommands
-
expire
public reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.BooleanResponse<org.springframework.data.redis.connection.ReactiveKeyCommands.ExpireCommand>> expire(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveKeyCommands.ExpireCommand> commands)
- Specified by:
expirein interfaceorg.springframework.data.redis.connection.ReactiveKeyCommands
-
pExpire
public reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.BooleanResponse<org.springframework.data.redis.connection.ReactiveKeyCommands.ExpireCommand>> pExpire(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveKeyCommands.ExpireCommand> commands)
- Specified by:
pExpirein interfaceorg.springframework.data.redis.connection.ReactiveKeyCommands
-
expireAt
public reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.BooleanResponse<org.springframework.data.redis.connection.ReactiveKeyCommands.ExpireAtCommand>> expireAt(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveKeyCommands.ExpireAtCommand> commands)
- Specified by:
expireAtin interfaceorg.springframework.data.redis.connection.ReactiveKeyCommands
-
pExpireAt
public reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.BooleanResponse<org.springframework.data.redis.connection.ReactiveKeyCommands.ExpireAtCommand>> pExpireAt(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveKeyCommands.ExpireAtCommand> commands)
- Specified by:
pExpireAtin interfaceorg.springframework.data.redis.connection.ReactiveKeyCommands
-
persist
public reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.BooleanResponse<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand>> persist(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand> commands)
- Specified by:
persistin interfaceorg.springframework.data.redis.connection.ReactiveKeyCommands
-
ttl
public reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.NumericResponse<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand,Long>> ttl(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand> commands)
- Specified by:
ttlin interfaceorg.springframework.data.redis.connection.ReactiveKeyCommands
-
pTtl
public reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.NumericResponse<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand,Long>> pTtl(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand> commands)
- Specified by:
pTtlin interfaceorg.springframework.data.redis.connection.ReactiveKeyCommands
-
move
public reactor.core.publisher.Flux<org.springframework.data.redis.connection.ReactiveRedisConnection.BooleanResponse<org.springframework.data.redis.connection.ReactiveKeyCommands.MoveCommand>> move(org.reactivestreams.Publisher<org.springframework.data.redis.connection.ReactiveKeyCommands.MoveCommand> commands)
- Specified by:
movein interfaceorg.springframework.data.redis.connection.ReactiveKeyCommands
-
encodingOf
public reactor.core.publisher.Mono<org.springframework.data.redis.connection.ValueEncoding> encodingOf(ByteBuffer key)
- Specified by:
encodingOfin interfaceorg.springframework.data.redis.connection.ReactiveKeyCommands
-
idletime
public reactor.core.publisher.Mono<Duration> idletime(ByteBuffer key)
- Specified by:
idletimein interfaceorg.springframework.data.redis.connection.ReactiveKeyCommands
-
refcount
public reactor.core.publisher.Mono<Long> refcount(ByteBuffer key)
- Specified by:
refcountin interfaceorg.springframework.data.redis.connection.ReactiveKeyCommands
-
toByteArray
public static byte[] toByteArray(ByteBuffer buffer)
-
-