Class TransactionalOperation
- java.lang.Object
-
- org.redisson.transaction.operation.TransactionalOperation
-
- Direct Known Subclasses:
BucketCompareAndSetOperation
,BucketGetAndDeleteOperation
,BucketGetAndSetOperation
,BucketSetOperation
,BucketsTrySetOperation
,BucketTrySetOperation
,DeleteOperation
,MapOperation
,SetOperation
,TouchOperation
,UnlinkOperation
public abstract class TransactionalOperation extends Object
- Author:
- Nikita Koksharov
-
-
Constructor Summary
Constructors Constructor Description TransactionalOperation()
TransactionalOperation(String name, Codec codec)
TransactionalOperation(String name, Codec codec, long threadId)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
commit(CommandAsyncExecutor commandExecutor)
Codec
getCodec()
String
getName()
long
getThreadId()
abstract void
rollback(CommandAsyncExecutor commandExecutor)
-
-
-
Method Detail
-
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)
-
-