org.rhq.enterprise.communications.command.server
Class CommandProcessorMetrics.Calltime

java.lang.Object
  extended by org.rhq.enterprise.communications.command.server.CommandProcessorMetrics.Calltime
All Implemented Interfaces:
Serializable
Enclosing class:
CommandProcessorMetrics

public class CommandProcessorMetrics.Calltime
extends Object
implements Serializable

Used to store the minimum, maximum and average times (in milliseconds) for invocations to a particular command. The count of the number of times an invocation was executed is also kept. Note that the min/max/avg times will only be for successful commands.

See Also:
Serialized Form

Constructor Summary
CommandProcessorMetrics.Calltime()
           
 
Method Summary
 long getAverage()
           
 long getCount()
           
 long getDropped()
           
 long getFailures()
           
 long getMaximum()
           
 long getMinimum()
           
 long getNotProcessed()
           
 long getSuccesses()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommandProcessorMetrics.Calltime

public CommandProcessorMetrics.Calltime()
Method Detail

getCount

public long getCount()

getFailures

public long getFailures()

getDropped

public long getDropped()

getNotProcessed

public long getNotProcessed()

getSuccesses

public long getSuccesses()

getMinimum

public long getMinimum()

getMaximum

public long getMaximum()

getAverage

public long getAverage()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.