Package step.plugins.views.functions
Class AbstractTimeBasedView<T>
- java.lang.Object
-
- step.plugins.views.AbstractView<AbstractTimeBasedModel<T>>
-
- step.plugins.views.functions.AbstractTimeBasedView<T>
-
- Direct Known Subclasses:
AbstractTimeBasedGaugeView
,ErrorRateView
,ReportNodeStatisticsView
public abstract class AbstractTimeBasedView<T> extends AbstractView<AbstractTimeBasedModel<T>>
-
-
Constructor Summary
Constructors Constructor Description AbstractTimeBasedView()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
addPoint(AbstractTimeBasedModel<T> model, long time, T point)
AbstractTimeBasedModel<T>
init()
protected void
initInterval(java.util.TreeMap<java.lang.Long,T> intervals, long interval)
protected abstract void
mergePoints(T target, T source)
protected void
mergePointToInterval(java.util.TreeMap<java.lang.Long,T> newIntervals, long time, int resolution, T point)
protected void
removePoint(AbstractTimeBasedModel<T> model, long time, T point)
void
setResolutions(int[] resolutions)
protected long
timeToInterval(long time, long resolution)
protected abstract void
unMergePoints(T target, T source)
-
Methods inherited from class step.plugins.views.AbstractView
addModel, afterReportNodeExecution, afterReportNodeSkeletonCreation, beforeReportNodeExecution, getModel, getViewId, removeModel, rollbackReportNode
-
-
-
-
Method Detail
-
init
public AbstractTimeBasedModel<T> init()
- Specified by:
init
in classAbstractView<AbstractTimeBasedModel<T>>
-
setResolutions
public void setResolutions(int[] resolutions)
-
addPoint
protected void addPoint(AbstractTimeBasedModel<T> model, long time, T point)
-
removePoint
protected void removePoint(AbstractTimeBasedModel<T> model, long time, T point)
-
mergePointToInterval
protected void mergePointToInterval(java.util.TreeMap<java.lang.Long,T> newIntervals, long time, int resolution, T point)
-
initInterval
protected void initInterval(java.util.TreeMap<java.lang.Long,T> intervals, long interval)
-
timeToInterval
protected long timeToInterval(long time, long resolution)
-
-