public class GlobalRequestProcessorStats extends AbstractStats
MB| Constructor and Description |
|---|
GlobalRequestProcessorStats()
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAvailableValueNames() |
long |
getBytesReceived(String intervalName)
Returns bytes received value by selected interval.
|
long |
getBytesSent(String intervalName)
Returns bytes sent value by selected interval.
|
long |
getErrorCount(String intervalName)
Returns error count by selected interval.
|
long |
getMaxTime(String intervalName)
Returns max time value by selected interval.
|
long |
getProcessingTime(String intervalName)
Returns processing time value by selected interval.
|
long |
getRequestCount(String intervalName)
Returns request count by selected interval.
|
String |
getValueByNameAsString(String valueName,
String intervalName,
TimeUnit timeUnit) |
String |
toStatsString(String intervalName,
TimeUnit unit) |
void |
update(long aRequestCount,
long aMaxTime,
long aBytesReceived,
long aBytesSent,
long aProcessingTime,
long aErrorCount)
Updates stats.
|
addStatValues, createCallExecution, destroy, getName, isEmpty, toStatsString, toStatsString, toStatsString, toStringpublic GlobalRequestProcessorStats()
public String getValueByNameAsString(String valueName, String intervalName, TimeUnit timeUnit)
getValueByNameAsString in interface IStatsgetValueByNameAsString in class AbstractStatspublic List<String> getAvailableValueNames()
getAvailableValueNames in interface IStatsgetAvailableValueNames in interface StatsMXBeangetAvailableValueNames in class AbstractStatspublic void update(long aRequestCount,
long aMaxTime,
long aBytesReceived,
long aBytesSent,
long aProcessingTime,
long aErrorCount)
aRequestCount - request countaMaxTime - max timeaBytesReceived - bytes receivedaBytesSent - bytes sentaProcessingTime - processing timeaErrorCount - error countpublic long getRequestCount(String intervalName)
intervalName - interval namepublic long getMaxTime(String intervalName)
intervalName - interval namepublic long getBytesReceived(String intervalName)
intervalName - interval namepublic long getBytesSent(String intervalName)
intervalName - interval namepublic long getProcessingTime(String intervalName)
intervalName - interval namepublic long getErrorCount(String intervalName)
intervalName - interval nameCopyright © 2010-2017 anotheria.net. All Rights Reserved.