Class TransactionalOperation

java.lang.Object
org.redisson.transaction.operation.TransactionalOperation
Direct Known Subclasses:
BucketCompareAndSetOperation, BucketGetAndDeleteOperation, BucketGetAndSetOperation, BucketSetOperation, BucketsTrySetOperation, BucketTrySetOperation, ClearExpireOperation, DeleteOperation, ExpireAtOperation, ExpireOperation, MapOperation, SetOperation, TouchOperation, UnlinkOperation

public abstract class TransactionalOperation extends Object
Author:
Nikita Koksharov
  • Field Details

    • codec

      protected Codec codec
    • name

      protected String name
    • threadId

      protected long threadId
  • Constructor Details

    • TransactionalOperation

      public TransactionalOperation()
    • TransactionalOperation

      public TransactionalOperation(String name, Codec codec)
    • TransactionalOperation

      public TransactionalOperation(String name, Codec codec, long threadId)
  • Method Details

    • getThreadId

      public long getThreadId()
    • getCodec

      public Codec getCodec()
    • getName

      public String getName()
    • commit

      public abstract void commit(CommandAsyncExecutor commandExecutor)
    • rollback

      public abstract void rollback(CommandAsyncExecutor commandExecutor)