public class LocalTransactionStatistics extends TransactionStatistics
initTime, log, timeService, trace
Constructor and Description |
---|
LocalTransactionStatistics(boolean optimisticLockingScheme,
TimeService timeService) |
Modifier and Type | Method and Description |
---|---|
boolean |
isLocalTransaction() |
void |
onPrepareCommand()
Signals the reception of the
PrepareCommand . |
protected void |
terminate()
Signals this transaction as completed and updates the statistics to the final values ready to be merged in the
cache statistics.
|
String |
toString() |
addValue, copyValue, flushTo, getValue, incrementValue, isCommitted, isReadOnly, markAsUpdateTransaction, setOutcome, terminateTransaction
public LocalTransactionStatistics(boolean optimisticLockingScheme, TimeService timeService)
public final String toString()
toString
in class TransactionStatistics
public final void onPrepareCommand()
TransactionStatistics
PrepareCommand
.onPrepareCommand
in class TransactionStatistics
public final boolean isLocalTransaction()
isLocalTransaction
in class TransactionStatistics
true
if this transaction statistics is for a local transaction.protected final void terminate()
TransactionStatistics
terminate
in class TransactionStatistics
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.