org.rhq.modules.plugins.jbossas7
Class PluginStats

java.lang.Object
  extended by org.rhq.modules.plugins.jbossas7.PluginStats

public class PluginStats
extends Object

Singleton that keeps track of some statistics of this plugin

Author:
Heiko W. Rupp

Method Summary
 void addRequestTime(long l)
           
static PluginStats getInstance()
           
 long getMaxTime()
           
 long getRequestCount()
           
 long getRequestTime()
           
 void incrementRequestCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static PluginStats getInstance()

incrementRequestCount

public void incrementRequestCount()

addRequestTime

public void addRequestTime(long l)

getRequestCount

public long getRequestCount()

getRequestTime

public long getRequestTime()

getMaxTime

public long getMaxTime()


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