Package cppclassanalyzer.database.utils
Class TransactionHandler
java.lang.Object
cppclassanalyzer.database.utils.TransactionHandler
public class TransactionHandler extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
TransactionHandler.TransactionEnder
static interface
TransactionHandler.TransactionStarter
-
Constructor Summary
Constructors Constructor Description TransactionHandler(TransactionHandler.TransactionStarter starter, TransactionHandler.TransactionEnder ender)
-
Method Summary
Modifier and Type Method Description void
endTransaction()
void
endTransaction(boolean commit)
void
startTransaction()
void
startTransaction(String description)
-
Constructor Details
-
TransactionHandler
public TransactionHandler(TransactionHandler.TransactionStarter starter, TransactionHandler.TransactionEnder ender)
-
-
Method Details
-
startTransaction
public void startTransaction() -
startTransaction
-
endTransaction
public void endTransaction() -
endTransaction
public void endTransaction(boolean commit)
-