Package org.redisson.spring.transaction
Class RedissonTransactionObject
java.lang.Object
org.redisson.spring.transaction.RedissonTransactionObject
- All Implemented Interfaces:
Flushable
,org.springframework.transaction.support.SmartTransactionObject
public class RedissonTransactionObject
extends Object
implements org.springframework.transaction.support.SmartTransactionObject
- Author:
- Nikita Koksharov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
flush()
boolean
void
setRollbackOnly
(boolean isRollbackOnly) void
setTransactionHolder
(RedissonTransactionHolder transaction)
-
Constructor Details
-
RedissonTransactionObject
public RedissonTransactionObject()
-
-
Method Details
-
getTransactionHolder
-
setTransactionHolder
-
setRollbackOnly
public void setRollbackOnly(boolean isRollbackOnly) -
isRollbackOnly
public boolean isRollbackOnly()- Specified by:
isRollbackOnly
in interfaceorg.springframework.transaction.support.SmartTransactionObject
-
flush
public void flush()
-