public class MergedThreadTimer extends Object implements TransactionTimer, AggregatedTimer
TransactionTimer.TransactionTimerSnapshot| Constructor and Description |
|---|
MergedThreadTimer(String name,
boolean extended) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDataFrom(TransactionTimer timer) |
static MergedThreadTimer |
createAuxThreadRootTimer() |
List<MergedThreadTimer> |
getChildTimers() |
long |
getCount() |
String |
getName() |
TransactionTimer.TransactionTimerSnapshot |
getSnapshot() |
long |
getTotalNanos() |
boolean |
isExtended() |
void |
mergeChildTimersInto(AggregatedTimer timer) |
AggregatedTimer |
newChildTimer(String name,
boolean extended) |
TraceOuterClass.Trace.Timer |
toProto() |
public MergedThreadTimer(String name, boolean extended)
public void addDataFrom(TransactionTimer timer)
addDataFrom in interface AggregatedTimerpublic static MergedThreadTimer createAuxThreadRootTimer()
public List<MergedThreadTimer> getChildTimers()
getChildTimers in interface AggregatedTimerpublic long getCount()
getCount in interface TransactionTimerpublic String getName()
getName in interface AggregatedTimergetName in interface TransactionTimerpublic TransactionTimer.TransactionTimerSnapshot getSnapshot()
getSnapshot in interface TransactionTimerpublic long getTotalNanos()
getTotalNanos in interface TransactionTimerpublic boolean isExtended()
isExtended in interface AggregatedTimerisExtended in interface TransactionTimerpublic void mergeChildTimersInto(AggregatedTimer timer)
mergeChildTimersInto in interface TransactionTimerpublic AggregatedTimer newChildTimer(String name, boolean extended)
newChildTimer in interface AggregatedTimerpublic TraceOuterClass.Trace.Timer toProto()
Copyright © 2011–2020 Glowroot contributors. All rights reserved.