Interface RedisTransactionalOperations<A,B>

Type Parameters:
A - key type
B - value type
All Superinterfaces:
RedisGeoReactiveOperations<A,B>, RedisHashReactiveOperations<A,B>, RedisHLLReactiveOperations<A,B>, RedisKeyReactiveOperations<A,B>, RedisListReactiveOperations<A,B>, RedisOperations<A,B>, RedisScriptingReactiveOperations<A,B>, RedisSetReactiveOperations<A,B>, RedisSortedSetReactiveOperations<A,B>, RedisStreamReactiveOperations<A,B>, RedisStringReactiveOperations<A,B>

public interface RedisTransactionalOperations<A,B> extends RedisOperations<A,B>

Redis reactive commands with transaction support.

Since:
1.4
Author:
Jeremy Kuhn
  • Method Details

    • discard

      Mono<String> discard()

      Discards all commands issued in the transaction.

      Returns:
      discard command result (always OK).
    • exec

      Executes all commands issued in the transaction.

      Returns:
      a mono emitting transaction result