Class DefaultTransactionStatistics
java.lang.Object
org.nuxeo.ecm.core.management.jtajca.internal.DefaultTransactionStatistics
- All Implemented Interfaces:
TransactionStatistics
- Author:
- matic
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.nuxeo.ecm.core.management.jtajca.TransactionStatistics
TransactionStatistics.Status -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Throwableprotected longprotected final Stringprotected org.javasimon.Splitprotected Throwableprotected longprotected TransactionStatistics.Statusprotected String -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
-
startTimestamp
protected long startTimestamp -
startCapturedContext
-
threadName
-
endTimestamp
protected long endTimestamp -
endCapturedContext
-
status
-
split
protected org.javasimon.Split split
-
-
Constructor Details
-
DefaultTransactionStatistics
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceTransactionStatistics
-
getThreadName
- Specified by:
getThreadNamein interfaceTransactionStatistics
-
getStatus
- Specified by:
getStatusin interfaceTransactionStatistics
-
getStartDate
- Specified by:
getStartDatein interfaceTransactionStatistics
-
getStartCapturedContext
-
getStartCapturedContextMessage
- Specified by:
getStartCapturedContextMessagein interfaceTransactionStatistics
-
getEndDate
- Specified by:
getEndDatein interfaceTransactionStatistics
-
getEndCapturedContext
-
getEndCapturedContextMessage
- Specified by:
getEndCapturedContextMessagein interfaceTransactionStatistics
-
getDuration
public long getDuration()- Specified by:
getDurationin interfaceTransactionStatistics
-
isEnded
public boolean isEnded()- Specified by:
isEndedin interfaceTransactionStatistics
-
printCapturedContext
-
print
-
toString
-