Class 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
    • 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)  
      • Methods inherited from interface org.springframework.data.redis.connection.ReactiveKeyCommands

        del, exists, expire, expireAt, keys, mDel, move, mUnlink, persist, pExpire, pExpireAt, pTtl, rename, renameNX, scan, touch, ttl, type, unlink
    • Constructor Detail

    • 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:
        exists in interface org.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:
        type in interface org.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:
        touch in interface org.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:
        keys in interface org.springframework.data.redis.connection.ReactiveKeyCommands
      • scan

        public reactor.core.publisher.Flux<ByteBuffer> scan​(org.springframework.data.redis.core.ScanOptions options)
        Specified by:
        scan in interface org.springframework.data.redis.connection.ReactiveKeyCommands
      • randomKey

        public reactor.core.publisher.Mono<ByteBuffer> randomKey()
        Specified by:
        randomKey in interface org.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:
        rename in interface org.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:
        renameNX in interface org.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:
        del in interface org.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:
        mDel in interface org.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:
        unlink in interface org.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:
        mUnlink in interface org.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:
        expire in interface org.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:
        pExpire in interface org.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:
        expireAt in interface org.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:
        pExpireAt in interface org.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:
        persist in interface org.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:
        ttl in interface org.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:
        pTtl in interface org.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:
        move in interface org.springframework.data.redis.connection.ReactiveKeyCommands
      • encodingOf

        public reactor.core.publisher.Mono<org.springframework.data.redis.connection.ValueEncoding> encodingOf​(ByteBuffer key)
        Specified by:
        encodingOf in interface org.springframework.data.redis.connection.ReactiveKeyCommands
      • idletime

        public reactor.core.publisher.Mono<Duration> idletime​(ByteBuffer key)
        Specified by:
        idletime in interface org.springframework.data.redis.connection.ReactiveKeyCommands
      • refcount

        public reactor.core.publisher.Mono<Long> refcount​(ByteBuffer key)
        Specified by:
        refcount in interface org.springframework.data.redis.connection.ReactiveKeyCommands
      • toByteArray

        public static byte[] toByteArray​(ByteBuffer buffer)