com.liferay.portal.monitoring.statistics.service
Class ServerStatistics
java.lang.Object
com.liferay.portal.monitoring.statistics.service.ServerStatistics
- All Implemented Interfaces:
- DataSampleProcessor<ServiceRequestDataSample>
public class ServerStatistics
- extends Object
- implements DataSampleProcessor<ServiceRequestDataSample>
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 |
ServerStatistics
public ServerStatistics()
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>