tmf: Fix the actual end time of state system modules
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / statesystem / ITmfStateProvider.java
index c29fee2a5c0069d01ab23655dcb802f132f94854..8e40dc4392b264805a12e73bbd9e9617c20707c1 100644 (file)
@@ -55,6 +55,17 @@ public interface ITmfStateProvider {
      */
     long getStartTime();
 
+    /**
+     * Return the last time at which it is safe to query the state system under
+     * construction, ie not the current end time of the underlying state system,
+     * but the time just before the latest event that has been processed.
+     *
+     * @return The last timestamp at which it is safe to query the state system
+     *         underneath
+     * @since 2.0
+     */
+    long getLatestSafeTime();
+
     /**
      * Assign the target state system where this SCI will insert its state
      * changes. Because of dependencies issues, this can normally not be done at
This page took 0.025981 seconds and 5 git commands to generate.