public class TimerImpl extends Object implements Timer, TransactionTimer
TransactionTimer.TransactionTimerSnapshot| Modifier and Type | Method and Description |
|---|---|
Timer |
extend(TimerImpl currentTimer) |
long |
getCount() |
String |
getName() |
TransactionTimer.TransactionTimerSnapshot |
getSnapshot() |
long |
getTotalNanos() |
boolean |
isExtended() |
void |
mergeChildTimersInto(AggregatedTimer timer) |
TimerImpl |
startNestedTimer(TimerName timerName,
long startTick) |
void |
stop() |
public long getCount()
getCount in interface TransactionTimerpublic String getName()
getName in interface TransactionTimerpublic TransactionTimer.TransactionTimerSnapshot getSnapshot()
getSnapshot in interface TransactionTimerpublic long getTotalNanos()
getTotalNanos in interface TransactionTimerpublic boolean isExtended()
isExtended in interface TransactionTimerpublic void mergeChildTimersInto(AggregatedTimer timer)
mergeChildTimersInto in interface TransactionTimerCopyright © 2011–2020 Glowroot contributors. All rights reserved.