org.apache.avro.ipc.trace
Class TraceCollection.TraceNodeStats

java.lang.Object
  extended by 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.


Constructor Summary
TraceCollection.TraceNodeStats(TraceNode root)
          Create a TraceNodeStats given a root TraceNode.
 
Method Summary
 String getAverageBytes(List<Long> input)
           
 String getAverageTime(List<TraceCollection.TraceTiming> input)
           
 List<TraceCollection.TraceNodeStats> getChildren()
           
 String getMaxBytes(List<Long> input)
           
 String getMaxTime(List<TraceCollection.TraceTiming> input)
           
 CharSequence getMessageName()
           
 String getMinBytes(List<Long> input)
           
 String getMinTime(List<TraceCollection.TraceTiming> input)
           
 List<Long> getRequestPayloads()
           
 List<Long> getResponsePayloads()
           
 List<TraceCollection.TraceTiming> getTraceTimings()
           
 List<TraceCollection.TraceTiming> getTraceTimingsSorted()
           
 String printBrief()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraceCollection.TraceNodeStats

public TraceCollection.TraceNodeStats(TraceNode root)
Create a TraceNodeStats given a root TraceNode.

Method Detail

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 © 2011 The Apache Software Foundation. All Rights Reserved.