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