X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.history%2Fsrc%2Forg%2Fsimantics%2Fhistory%2FHistorySamplerItem2.java;h=cbd2cd245a075e2e4f5ca5607d671d7723033b28;hb=321f52f3c951a801d79b6c6a01967bc570845e22;hp=73d89fa56a1aed8d73bed10724f12fe4417f4d40;hpb=cd608739ac877bffcb204d420f84331a235910cf;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.history/src/org/simantics/history/HistorySamplerItem2.java b/bundles/org.simantics.history/src/org/simantics/history/HistorySamplerItem2.java index 73d89fa56..cbd2cd245 100644 --- a/bundles/org.simantics.history/src/org/simantics/history/HistorySamplerItem2.java +++ b/bundles/org.simantics.history/src/org/simantics/history/HistorySamplerItem2.java @@ -41,6 +41,11 @@ public class HistorySamplerItem2 implements Comparable { this.items = items; this.chartDataId = identityHashCode; } + + public void flush() throws HistoryException { + if (collector != null) + collector.flush(); + } public void open() throws HistoryException { accessor = history.openStream(items[0].id, "r");