public interface DatabaseTransaction
Transaction
API, to provide
database access to the registry.Modifier and Type | Method and Description |
---|---|
void |
decNestedDepth()
This method will decrement the nested depth of the transaction on the current session.
|
int |
getNestedDepth()
Method to obtain the depth of nesting of this transaction at a given point in time.
|
void |
incNestedDepth()
This method will increment the nested depth of the transaction on the current session.
|
boolean |
isRollbacked()
Method to determine whether this transaction has been rollbacked at least once.
|
boolean |
isStarted()
Method to determine whether a transaction is started or not.
|
void |
popTransaction()
Pop stacked transaction and replace the existing one with that.
|
void |
pushTransaction()
Push current transaction to a stack and make room for a new one.
|
void |
setRollbacked(boolean rollbacked)
Method to set whether this transaction has been rollbacked or not.
|
void |
setStarted(boolean started)
Method to set whether a transaction is started or not.
|
void pushTransaction()
void popTransaction()
boolean isStarted()
void setStarted(boolean started)
started
- whether a transaction is started or not.void incNestedDepth()
void decNestedDepth()
int getNestedDepth()
boolean isRollbacked()
void setRollbacked(boolean rollbacked)
rollbacked
- whether this transaction has been rollbacked or not.Copyright © 2016 WSO2 Inc. All Rights Reserved.