public class DefaultTransactionStatistics extends Object implements TransactionStatistics
TransactionStatistics.Status
Modifier and Type | Field and Description |
---|---|
protected Throwable |
endCapturedContext |
protected long |
endTimestamp |
protected String |
id |
protected org.javasimon.Split |
split |
protected Throwable |
startCapturedContext |
protected long |
startTimestamp |
protected TransactionStatistics.Status |
status |
protected String |
threadName |
Modifier | Constructor and Description |
---|---|
protected |
DefaultTransactionStatistics(Object key) |
Modifier and Type | Method and Description |
---|---|
long |
getDuration() |
Throwable |
getEndCapturedContext() |
String |
getEndCapturedContextMessage() |
Date |
getEndDate() |
String |
getId() |
String |
getStartCapturedContext() |
String |
getStartCapturedContextMessage() |
Date |
getStartDate() |
TransactionStatistics.Status |
getStatus() |
String |
getThreadName() |
boolean |
isEnded() |
void |
print(PrintWriter writer) |
protected static String |
printCapturedContext(Throwable e) |
String |
toString() |
protected long startTimestamp
protected Throwable startCapturedContext
protected String threadName
protected long endTimestamp
protected Throwable endCapturedContext
protected TransactionStatistics.Status status
protected org.javasimon.Split split
protected DefaultTransactionStatistics(Object key)
public String getId()
getId
in interface TransactionStatistics
public String getThreadName()
getThreadName
in interface TransactionStatistics
public TransactionStatistics.Status getStatus()
getStatus
in interface TransactionStatistics
public Date getStartDate()
getStartDate
in interface TransactionStatistics
public String getStartCapturedContext()
public String getStartCapturedContextMessage()
getStartCapturedContextMessage
in interface TransactionStatistics
public Date getEndDate()
getEndDate
in interface TransactionStatistics
public Throwable getEndCapturedContext()
public String getEndCapturedContextMessage()
getEndCapturedContextMessage
in interface TransactionStatistics
public long getDuration()
getDuration
in interface TransactionStatistics
public boolean isEnded()
isEnded
in interface TransactionStatistics
protected static String printCapturedContext(Throwable e)
public void print(PrintWriter writer)
Copyright © 2015 Nuxeo SA. All rights reserved.