public interface IStats
| Modifier and Type | Method and Description |
|---|---|
CallExecution |
createCallExecution() |
void |
destroy()
Called when this stats object is removed from the system.
|
List<String> |
getAvailableValueNames()
Returns the names of all contained stats.
|
String |
getName()
This method returns the name of this set of statistical values.
|
String |
getValueByNameAsString(String valueName,
String intervalName,
TimeUnit timeUnit) |
boolean |
isEmpty(String intervalName)
Returns true if this stat object didn't record anything of interest in a given interval.
|
String |
toStatsString()
This method creates a human-readable textual representation of all statistical
values in all intervals.
|
String |
toStatsString(String aIntervalName)
This method creates a human-readable textual representation of all statistical
values in the given interval.
|
String |
toStatsString(String aIntervalName,
TimeUnit unit)
This method creates a human-readable textual representation of all statistical
values in the given interval.
|
String |
toStatsString(TimeUnit unit)
This method creates a human-readable textual representation of all statistical
values in all intervals.
|
String toStatsString()
String toStatsString(String aIntervalName)
aIntervalName - the name of the interval or null for all intervalsString toStatsString(TimeUnit unit)
String toStatsString(String aIntervalName, TimeUnit unit)
aIntervalName - the name of the interval or null for all intervalsString getName()
CallExecution createCallExecution()
String getValueByNameAsString(String valueName, String intervalName, TimeUnit timeUnit)
List<String> getAvailableValueNames()
boolean isEmpty(String intervalName)
void destroy()
Copyright © 2010-2017 anotheria.net. All Rights Reserved.