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

java.lang.Object
  extended by org.apache.avro.ipc.trace.TraceCollection.TraceTiming
All Implemented Interfaces:
Comparable<TraceCollection.TraceTiming>
Enclosing class:
TraceCollection

public class TraceCollection.TraceTiming
extends Object
implements Comparable<TraceCollection.TraceTiming>

Class to store the timing data associated with a particluar trace.


Constructor Summary
TraceCollection.TraceTiming(Long preLinkTime, Long computeTime, Long postLinkTime)
           
 
Method Summary
 int compareTo(TraceCollection.TraceTiming other)
           
 long getComputeTime()
           
 long getPostLinkTime()
           
 long getPreLinkTime()
           
 Long getTotalTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraceCollection.TraceTiming

public TraceCollection.TraceTiming(Long preLinkTime,
                                   Long computeTime,
                                   Long postLinkTime)
Method Detail

getTotalTime

public Long getTotalTime()

compareTo

public int compareTo(TraceCollection.TraceTiming other)
Specified by:
compareTo in interface Comparable<TraceCollection.TraceTiming>

getPreLinkTime

public long getPreLinkTime()

getComputeTime

public long getComputeTime()

getPostLinkTime

public long getPostLinkTime()


Copyright © 2010 The Apache Software Foundation