public abstract class GenericCounterDecorator extends AbstractDecorator<GenericCounterStats>
MB| Constructor and Description |
|---|
GenericCounterDecorator(GenericCounterStats patternObject,
String[] captions,
String[] shortExplanations,
String[] explanations)
Creates a new generic decorator.
|
| Modifier and Type | Method and Description |
|---|---|
List<StatValueAO> |
getValues(GenericCounterStats stats,
String interval,
TimeUnit unit)
Returns transformed stats for incoming stats object.
|
compareTo, getCaptions, getExplanation, getNamepublic GenericCounterDecorator(GenericCounterStats patternObject, String[] captions, String[] shortExplanations, String[] explanations)
patternObject - pattern for this concrete decorator which is a subclass of genericcounterstats.captions - captions of the values.shortExplanations - short explanations of the captions.explanations - explanations of the captions.public List<StatValueAO> getValues(GenericCounterStats stats, String interval, TimeUnit unit)
IDecoratorstats - stats to decorate.interval - the selected interval.unit - the selected time unit.Copyright © 2010-2015 anotheria.net. All Rights Reserved.