Interface RedisTxCommands

All Known Subinterfaces:
DefaultedRedisClusterConnection, DefaultedRedisConnection, RedisClusterConnection, RedisCommands, RedisConnection, RedisConnectionUtils.RedisConnectionProxy, StringRedisConnection
All Known Implementing Classes:
AbstractRedisConnection, DefaultStringRedisConnection, JedisClusterConnection, JedisConnection, LettuceClusterConnection, LettuceConnection

public interface RedisTxCommands
Transaction/Batch specific commands supported by Redis.
Author:
Costin Leau, Christoph Strobl, Mark Paluch
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Discard all commands issued after multi().
    Executes all queued commands in a transaction started with multi().
    void
    Mark the start of a transaction block.
    void
    Flushes all the previously watch(byte[]...) keys.
    void
    watch(byte[]... keys)
    Watch given keys for modifications during transaction started with multi().