public class AsyncTimer extends Object implements TransactionTimer
TransactionTimer.TransactionTimerSnapshot| Constructor and Description |
|---|
AsyncTimer(TimerNameImpl timerName,
long startTick) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
active() |
void |
end(long endTick) |
void |
extend(long startTick) |
long |
getCount() |
String |
getName() |
TransactionTimer.TransactionTimerSnapshot |
getSnapshot() |
long |
getTotalNanos() |
boolean |
isExtended() |
void |
mergeChildTimersInto(AggregatedTimer timer) |
public AsyncTimer(TimerNameImpl timerName, long startTick)
public boolean active()
public void end(long endTick)
public void extend(long startTick)
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.