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
- Author:
- Nikita Koksharov
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTransactionalOperation
(String name, Codec codec) TransactionalOperation
(String name, Codec codec, long threadId) -
Method Summary
Modifier and TypeMethodDescriptionabstract void
commit
(CommandAsyncExecutor commandExecutor) getCodec()
getName()
long
abstract void
rollback
(CommandAsyncExecutor commandExecutor)
-
Field Details
-
codec
-
name
-
threadId
protected long threadId
-
-
Constructor Details
-
TransactionalOperation
public TransactionalOperation() -
TransactionalOperation
-
TransactionalOperation
-
-
Method Details
-
getThreadId
public long getThreadId() -
getCodec
-
getName
-
commit
-
rollback
-