org.apache.activemq.apollo.dto
Class TimeMetricDTO

java.lang.Object
  extended by org.apache.activemq.apollo.dto.TimeMetricDTO

public class TimeMetricDTO
extends java.lang.Object

Author:
Hiram Chirino

Field Summary
 long count
          The number of timed events
 long max
          The maximum time in nanoseconds spent in an event
 long min
          The minimum time in nanoseconds spent in an event
 long total
          The total time in nanoseconds
 
Constructor Summary
TimeMetricDTO()
           
 
Method Summary
 float avg(java.util.concurrent.TimeUnit unit)
           
 float frequency(java.util.concurrent.TimeUnit unit)
           
 float max(java.util.concurrent.TimeUnit unit)
           
 float min(java.util.concurrent.TimeUnit unit)
           
 float total(java.util.concurrent.TimeUnit unit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

count

public long count
The number of timed events


total

public long total
The total time in nanoseconds


max

public long max
The maximum time in nanoseconds spent in an event


min

public long min
The minimum time in nanoseconds spent in an event

Constructor Detail

TimeMetricDTO

public TimeMetricDTO()
Method Detail

max

public float max(java.util.concurrent.TimeUnit unit)

min

public float min(java.util.concurrent.TimeUnit unit)

total

public float total(java.util.concurrent.TimeUnit unit)

avg

public float avg(java.util.concurrent.TimeUnit unit)

frequency

public float frequency(java.util.concurrent.TimeUnit unit)


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.