Package step.plugins.views.functions
Class AbstractTimeBasedView<T>
java.lang.Object
step.core.views.AbstractView<AbstractTimeBasedModel<T>>
step.plugins.views.functions.AbstractTimeBasedView<T>
- Direct Known Subclasses:
ErrorRateView
,ReportNodeStatisticsView
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addPoint
(AbstractTimeBasedModel<T> model, long time, T point) init()
protected void
initInterval
(TreeMap<Long, T> intervals, long interval) protected abstract void
mergePoints
(T target, T source) protected void
mergePointToInterval
(TreeMap<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.core.views.AbstractView
addModel, afterReportNodeExecution, afterReportNodeSkeletonCreation, beforeReportNodeExecution, getModel, getViewId, onErrorContributionRemoval, onReportNodeRemoval, removeModel
-
Constructor Details
-
AbstractTimeBasedView
public AbstractTimeBasedView()
-
-
Method Details
-
init
- Specified by:
init
in classAbstractView<AbstractTimeBasedModel<T>>
-
setResolutions
public void setResolutions(int[] resolutions) -
addPoint
-
removePoint
-
mergePointToInterval
-
initInterval
-
mergePoints
-
unMergePoints
-
timeToInterval
protected long timeToInterval(long time, long resolution)
-