X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.history%2Fsrc%2Forg%2Fsimantics%2Fhistory%2FHistorySamplerItem2.java;h=d5c3942a6ba35caa4c796f54526763b18ea7f20b;hp=be6940333a34486af59d3d1c16379daa23043254;hb=286183f3501ea34badb28d05bd8de954eff9b8bc;hpb=e3940e67813aa0988bdd0fe6161500034e6e7518 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 be6940333..d5c3942a6 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");