Interface RedisStringReactiveOperations<A,B>

Type Parameters:
A - key type
B - value type
All Known Subinterfaces:
RedisClient<A,B>, RedisOperations<A,B>, RedisTransactionalClient<A,B>, RedisTransactionalOperations<A,B>
All Known Implementing Classes:
io.inverno.mod.redis.lettuce.internal.AbstractRedisClient, PoolRedisClient, PoolRedisClusterClient

public interface RedisStringReactiveOperations<A,B>

Redis Strings reactive commands.

Since:
1.4
Author:
Jeremy Kuhn
  • Method Details

    • append

      Mono<Long> append(A key, B value)
      APPEND key value
      Parameters:
      key -
      value -
      Returns:
    • decr

      Mono<Long> decr(A key)
      DECR key
      Parameters:
      key -
      Returns:
    • decrby

      Mono<Long> decrby(A key, long decrement)
      DECRBY key decrement
      Parameters:
      key -
      decrement -
      Returns:
    • get

      Mono<B> get(A key)
      GET key
      Parameters:
      key -
      Returns:
    • getdel

      Mono<B> getdel(A key)
      GETDEL key
      Parameters:
      key -
      Returns:
    • getex

      Mono<B> getex(A key)
      GETEX key
      Parameters:
      key -
      Returns:
    • getex

      GETEX key [EX seconds|PX milliseconds|EXAT unix-time|PXAT unix-time|PERSIST]
      Returns:
    • getrange

      Mono<B> getrange(A key, long start, long end)
      GETRANGE key start end
      Parameters:
      key -
      start -
      end -
      Returns:
    • getset

      Mono<B> getset(A key, B value)
      GETSET key value
      Parameters:
      key -
      value -
      Returns:
    • incr

      Mono<Long> incr(A key)
      INCR key
      Parameters:
      key -
      Returns:
    • incrby

      Mono<Long> incrby(A key, long increment)
      INCRBY key increment
      Parameters:
      key -
      increment -
      Returns:
    • incrbyfloat

      Mono<Double> incrbyfloat(A key, double increment)
      INCRBYFLOAT key increment
      Parameters:
      key -
      increment -
      Returns:
    • mget

      Flux<EntryOptional<A,B>> mget(Consumer<Keys<A>> keys)
      MGET key [key ...]
      Parameters:
      keys -
      Returns:
    • mset

      Mono<String> mset(Consumer<Entries<A,B>> entries)
      MSET key value [key value ...]
      Parameters:
      entries -
      Returns:
    • msetnx

      Mono<Boolean> msetnx(Consumer<Entries<A,B>> entries)
      MSETNX key value [key value ...]
      Parameters:
      entries -
      Returns:
    • psetex

      Mono<String> psetex(A key, long milliseconds, B value)
      PSETEX key milliseconds value
      Parameters:
      key -
      milliseconds -
      value -
      Returns:
    • set

      Mono<String> set(A key, B value)
      SET key value
      Parameters:
      key -
      value -
      Returns:
    • set

      SET key value [EX seconds|PX milliseconds|EXAT unix-time-seconds|PXAT unix-time-milliseconds|KEEPTTL] [NX|XX]
      Returns:
    • setGet

      Mono<B> setGet(A key, B value)
      SET key value GET
      Parameters:
      key -
      value -
      Returns:
    • setGet

      SET key value [EX seconds|PX milliseconds|EXAT unix-time-seconds|PXAT unix-time-milliseconds|KEEPTTL] [NX|XX] GET
      Returns:
    • setex

      Mono<String> setex(A key, long seconds, B value)
      SETEX key seconds value
      Parameters:
      key -
      seconds -
      value -
      Returns:
    • setnx

      Mono<Boolean> setnx(A key, B value)
      SETNX key value
      Parameters:
      key -
      value -
      Returns:
    • setrange

      Mono<Long> setrange(A key, long offset, B value)
      SETRANGE key offset value
      Parameters:
      key -
      offset -
      value -
      Returns:
    • strlen

      Mono<Long> strlen(A key)
      STRLEN key
      Parameters:
      key -
      Returns:
    • bitcount

      Mono<Long> bitcount(A key)
      Parameters:
      key -
      Returns:
    • bitcount

      Mono<Long> bitcount(A key, long start, long end)
      BITCOUT key start end
      Parameters:
      key -
      start -
      end -
      Returns:
    • bitfield

      Flux<Optional<Long>> bitfield(A key)
      Parameters:
      key -
      Returns:
    • bitfield

      BITFIELD key [GET encoding offset] [SET encoding offset value] [INCRBY encoding offset increment] [OVERFLOW WRAP|SAT|FAIL]
      Returns:
    • bitopAnd

      Mono<Long> bitopAnd(A destKey, A key)
      BITOP AND destkey key
      Parameters:
      destKey -
      key -
      Returns:
    • bitopAnd

      Mono<Long> bitopAnd(A destKey, Consumer<Keys<A>> keys)
      BITOP AND destkey key [key ...]
      Parameters:
      destKey -
      keys -
      Returns:
    • bitopOr

      Mono<Long> bitopOr(A destKey, A key)
      BITOP OR destkey key
      Parameters:
      destKey -
      key -
      Returns:
    • bitopOr

      Mono<Long> bitopOr(A destKey, Consumer<Keys<A>> keys)
      BITOP OR destkey key [key ...]
      Parameters:
      destKey -
      keys -
      Returns:
    • bitopXor

      Mono<Long> bitopXor(A destKey, A key)
      BITOP XOR destkey key
      Parameters:
      destKey -
      key -
      Returns:
    • bitopXor

      Mono<Long> bitopXor(A destKey, Consumer<Keys<A>> keys)
      BITOP XOR destkey key [key ...]
      Parameters:
      destKey -
      keys -
      Returns:
    • bitopNot

      Mono<Long> bitopNot(A destKey, A key)
      BITOP NOT destkey key
      Parameters:
      destKey -
      key -
      Returns:
    • bitopNot

      Mono<Long> bitopNot(A destKey, Consumer<Keys<A>> keys)
      BITOP NOT destkey key [key ...]
      Parameters:
      destKey -
      keys -
      Returns:
    • bitpos

      Mono<Long> bitpos(A key, boolean bit)
      BITPOS key bit [start [end [BYTE|BIT]]]
      Parameters:
      key -
      bit -
      Returns:
    • bitpos

      Mono<Long> bitpos(A key, boolean bit, long start)
      BITPOS key bit [start [end [BYTE|BIT]]]
      Parameters:
      key -
      bit -
      start -
      Returns:
    • bitpos

      Mono<Long> bitpos(A key, boolean bit, long start, long end)
      BITPOS key bit [start [end [BYTE|BIT]]]
      Parameters:
      key -
      bit -
      start -
      end -
      Returns:
    • getbit

      Mono<Long> getbit(A key, long offset)
      GETBIT key offset
      Parameters:
      key -
      offset -
      Returns:
    • setbit

      Mono<Long> setbit(A key, long offset, int value)
      SETBIT key offset value
      Parameters:
      key -
      offset -
      value -
      Returns: