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 java.lang.Object
- implements DataSampleProcessor<ServiceRequestDataSample>
View Source
- Author:
- Michael C. Han
Method Summary |
long |
getAverageTime(java.lang.String className,
java.lang.String methodName,
java.lang.String[] parameterTypes)
|
long |
getErrorCount(java.lang.String className,
java.lang.String methodName,
java.lang.String[] parameterTypes)
|
long |
getMaxTime(java.lang.String className,
java.lang.String methodName,
java.lang.String[] parameterTypes)
|
long |
getMinTime(java.lang.String className,
java.lang.String methodName,
java.lang.String[] parameterTypes)
|
long |
getRequestCount(java.lang.String className,
java.lang.String methodName,
java.lang.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(java.lang.String className,
java.lang.String methodName,
java.lang.String[] parameterTypes)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getErrorCount
public long getErrorCount(java.lang.String className,
java.lang.String methodName,
java.lang.String[] parameterTypes)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getMaxTime
public long getMaxTime(java.lang.String className,
java.lang.String methodName,
java.lang.String[] parameterTypes)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getMinTime
public long getMinTime(java.lang.String className,
java.lang.String methodName,
java.lang.String[] parameterTypes)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRequestCount
public long getRequestCount(java.lang.String className,
java.lang.String methodName,
java.lang.String[] parameterTypes)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
processDataSample
public void processDataSample(ServiceRequestDataSample serviceRequestDataSample)
- Specified by:
processDataSample
in interface DataSampleProcessor<ServiceRequestDataSample>