Package com.semedy.reasoner.core
Class Transaction
java.lang.Object
com.semedy.reasoner.core.Transaction
Represents a transaction
- Author:
- angele
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
start the transactionvoid
finish the transactionvoid
interrupt the transactionboolean
isActive()
is the transaction active?boolean
is the transaction cancelledvoid
cancel the transaction
-
Constructor Details
-
Transaction
-
-
Method Details
-
interrupt
public void interrupt()interrupt the transaction -
setCanceled
public void setCanceled()cancel the transaction -
isCanceled
public boolean isCanceled()is the transaction cancelled- Returns:
-
beginTransaction
public void beginTransaction()start the transaction -
endTransaction
public void endTransaction()finish the transaction -
isActive
public boolean isActive()is the transaction active?- Returns:
-