org.infoglue.deliver.util
Class RequestAnalyser
java.lang.Object
org.infoglue.deliver.util.RequestAnalyser
public class RequestAnalyser
- extends java.lang.Object
- Author:
- Mattias Bogeblad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestAnalyser
public RequestAnalyser()
getRequestAnalyser
public static RequestAnalyser getRequestAnalyser()
getNumberOfCurrentRequests
public int getNumberOfCurrentRequests()
getNumberOfActiveRequests
public int getNumberOfActiveRequests()
getTotalNumberOfRequests
public int getTotalNumberOfRequests()
getAverageElapsedTime
public long getAverageElapsedTime()
getMaxElapsedTime
public long getMaxElapsedTime()
incNumberOfCurrentRequests
public void incNumberOfCurrentRequests(ThreadMonitor tk)
decNumberOfCurrentRequests
public void decNumberOfCurrentRequests(long elapsedTime)
getLongThreadMonitors
public static java.util.List getLongThreadMonitors()
registerComponentStatistics
public void registerComponentStatistics(java.lang.String componentName,
long elapsedTime)
getAllComponentNames
public static java.util.Set getAllComponentNames()
getComponentAverageElapsedTime
public static long getComponentAverageElapsedTime(java.lang.String componentName)
resetComponentStatistics
public static void resetComponentStatistics()
getBlockRequests
public boolean getBlockRequests()
setBlockRequests
public void setBlockRequests(boolean blockRequests)
Copyright © 2005 InfoGlue.org All Rights Reserved.