tmf: Add a new package for state history backends
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / internal / tmf / core / statesystem / HistoryBuilder.java
index de62ee1da353e6720f97b780da1d386de4ef2783..edd2aac2eb78026de3e320848ce5764e4818421b 100644 (file)
@@ -14,6 +14,7 @@ package org.eclipse.linuxtools.internal.tmf.core.statesystem;
 
 import java.io.IOException;
 
+import org.eclipse.linuxtools.internal.tmf.core.statesystem.backends.IStateHistoryBackend;
 import org.eclipse.linuxtools.tmf.core.component.TmfComponent;
 import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;
 import org.eclipse.linuxtools.tmf.core.event.TmfTimeRange;
@@ -54,26 +55,22 @@ public class HistoryBuilder extends TmfComponent {
      * @param stateChangeInput
      *            The input plugin to use. This is required.
      * @param backend
-     *            The backend storage to use.
+     *            The back-end storage to use.
      * @param buildManually
      *            Should we build this history in-band or not. True means we
      *            will start the building ourselves and block the caller until
      *            construction is done. False (out-of-band) means we will start
      *            listening for the signal and return immediately. Another
      *            signal will be sent when finished.
-     * @throws IOException
-     *             Is thrown if anything went wrong (usually with the storage
-     *             backend)
      */
     public HistoryBuilder(IStateChangeInput stateChangeInput,
-            IStateHistoryBackend backend, boolean buildManually)
-            throws IOException {
+            IStateHistoryBackend backend, boolean buildManually) {
         if (stateChangeInput == null || backend == null) {
             throw new IllegalArgumentException();
         }
         sci = stateChangeInput;
         hb = backend;
-        ss = new StateSystem(hb, true);
+        ss = new StateSystem(hb);
 
         sci.assignTargetStateSystem(ss);
 
This page took 0.025182 seconds and 5 git commands to generate.