public class ServletStatsDecorator extends RequestOrientedStatsDecorator
MB| Modifier | Constructor and Description |
|---|---|
|
ServletStatsDecorator()
Creates a new ServletStatsDecorator.
|
protected |
ServletStatsDecorator(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
getTotalErrors(IStats statsObject,
String interval)
Returns number of total errors for given interval.
|
List<StatValueAO> |
getValues(IStats statsObject,
String interval,
TimeUnit unit)
Returns transformed stats for incoming stats object.
|
compareTo, getCaptions, getExplanation, getNamepublic ServletStatsDecorator()
protected ServletStatsDecorator(String name)
public List<StatValueAO> getValues(IStats statsObject, String interval, TimeUnit unit)
IDecoratorgetValues in interface IDecoratorgetValues in class RequestOrientedStatsDecoratorstatsObject - stats to decorate.interval - the selected interval.unit - the selected time unit.protected long getTotalErrors(IStats statsObject, String interval)
RequestOrientedStatsDecoratorgetTotalErrors in class RequestOrientedStatsDecoratorstatsObject - target object.interval - interval.Copyright © 2010-2015 anotheria.net. All Rights Reserved.