Class TransactionStatistics
java.lang.Object
org.tentackle.dbms.TransactionStatistics
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcountTransaction(DbTransaction transaction, boolean rolledBack) Counts the invocation of a transaction.voidlogStatistics(String title, org.tentackle.log.Logger.Level level, String tag, boolean clear) Logs the statistics.
-
Constructor Details
-
TransactionStatistics
public TransactionStatistics()Creates a new statistics object.
-
-
Method Details
-
countTransaction
Counts the invocation of a transaction.- Parameters:
transaction- the transactionrolledBack- true if transaction was rolled back, false if committed
-
logStatistics
-