org.rhq.enterprise.server.remote
Class RemoteSafeInvocationHandlerMetrics.Calltime

java.lang.Object
  extended by org.rhq.enterprise.server.remote.RemoteSafeInvocationHandlerMetrics.Calltime
All Implemented Interfaces:
Serializable
Enclosing class:
RemoteSafeInvocationHandlerMetrics

public class RemoteSafeInvocationHandlerMetrics.Calltime
extends Object
implements Serializable

Used to store the minimum, maximum and average times (in milliseconds) for invocations to a particular invocation. 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 invocations.

See Also:
Serialized Form

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

Constructor Detail

RemoteSafeInvocationHandlerMetrics.Calltime

public RemoteSafeInvocationHandlerMetrics.Calltime()
Method Detail

getCount

public long getCount()

getFailures

public long getFailures()

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.