public abstract class RequestOrientedStatsDecorator extends AbstractDecorator
MB| Modifier | Constructor and Description |
|---|---|
protected |
RequestOrientedStatsDecorator(String name)
Creates a new decorator object with given name.
|
protected |
RequestOrientedStatsDecorator(String name,
String[] someCaptions,
String[] someShortExplanations,
String[] someExplanations)
Creates a new decorator with given name and parameters.
|
| 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, getNameprotected RequestOrientedStatsDecorator(String name)
name - name of the object.protected RequestOrientedStatsDecorator(String name, String[] someCaptions, String[] someShortExplanations, String[] someExplanations)
name - name of the decorator.someCaptions - captions.someShortExplanations - short explanations.someExplanations - explanations.public List<StatValueAO> getValues(IStats statsObject, String interval, TimeUnit unit)
IDecoratorstatsObject - stats to decorate.interval - the selected interval.unit - the selected time unit.Copyright © 2010-2015 anotheria.net. All Rights Reserved.