org.apache.avro.ipc.trace
Class TraceCollection.TraceNodeStats
java.lang.Object
org.apache.avro.ipc.trace.TraceCollection.TraceNodeStats
- Enclosing class:
- TraceCollection
public class TraceCollection.TraceNodeStats
- extends Object
Class to store statistics for a particular node in the RPC call tree.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TraceCollection.TraceNodeStats
public TraceCollection.TraceNodeStats(TraceNode root)
- Create a TraceNodeStats given a root TraceNode.
getRequestPayloads
public List<Long> getRequestPayloads()
getResponsePayloads
public List<Long> getResponsePayloads()
getTraceTimings
public List<TraceCollection.TraceTiming> getTraceTimings()
getTraceTimingsSorted
public List<TraceCollection.TraceTiming> getTraceTimingsSorted()
getChildren
public List<TraceCollection.TraceNodeStats> getChildren()
getMessageName
public CharSequence getMessageName()
getAverageTime
public String getAverageTime(List<TraceCollection.TraceTiming> input)
getMinTime
public String getMinTime(List<TraceCollection.TraceTiming> input)
getMaxTime
public String getMaxTime(List<TraceCollection.TraceTiming> input)
getAverageBytes
public String getAverageBytes(List<Long> input)
getMinBytes
public String getMinBytes(List<Long> input)
getMaxBytes
public String getMaxBytes(List<Long> input)
printBrief
public String printBrief()
Copyright © 2010 The Apache Software Foundation