Liferay 6.2-ce-ga5

com.liferay.portal.monitoring.statistics.service
Class ServerStatistics

java.lang.Object
  extended by com.liferay.portal.monitoring.statistics.service.ServerStatistics
All Implemented Interfaces:
DataSampleProcessor<ServiceRequestDataSample>

public class ServerStatistics
extends Object
implements DataSampleProcessor<ServiceRequestDataSample>


Constructor Summary
ServerStatistics()
           
 
Method Summary
 long getAverageTime(String className, String methodName, String[] parameterTypes)
           
 long getErrorCount(String className, String methodName, String[] parameterTypes)
           
 long getMaxTime(String className, String methodName, String[] parameterTypes)
           
 long getMinTime(String className, String methodName, String[] parameterTypes)
           
 long getRequestCount(String className, String methodName, String[] parameterTypes)
           
 void processDataSample(ServiceRequestDataSample serviceRequestDataSample)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerStatistics

public ServerStatistics()
Method Detail

getAverageTime

public long getAverageTime(String className,
                           String methodName,
                           String[] parameterTypes)

getErrorCount

public long getErrorCount(String className,
                          String methodName,
                          String[] parameterTypes)

getMaxTime

public long getMaxTime(String className,
                       String methodName,
                       String[] parameterTypes)

getMinTime

public long getMinTime(String className,
                       String methodName,
                       String[] parameterTypes)

getRequestCount

public long getRequestCount(String className,
                            String methodName,
                            String[] parameterTypes)

processDataSample

public void processDataSample(ServiceRequestDataSample serviceRequestDataSample)
Specified by:
processDataSample in interface DataSampleProcessor<ServiceRequestDataSample>

Liferay 6.2-ce-ga5