[Bug292967] Second part of request coalescing + unit tests + minor fixes.
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf / src / org / eclipse / linuxtools / tmf / request / ITmfDataRequest.java
index 3290ca8dbf29db2b8dd2b01db57cf309847b39fa..32ae0d80120f692e092611711303516aa9fefe4a 100644 (file)
@@ -33,7 +33,7 @@ public interface ITmfDataRequest<T extends TmfData> {
     /**
      * @return request ID
      */
-    public int getRequestId();
+    public long getRequestId();
 
     /**
         * @return the index of the first event requested
@@ -59,7 +59,6 @@ public interface ITmfDataRequest<T extends TmfData> {
        // Request state
        // ------------------------------------------------------------------------
 
-    public boolean isRunning();
     public boolean isCompleted();
     public boolean isFailed();
     public boolean isCancelled();
@@ -76,7 +75,6 @@ public interface ITmfDataRequest<T extends TmfData> {
        // Request handling
        // ------------------------------------------------------------------------
 
-    public void handleStarted();
     public void handleCompleted();
     public void handleSuccess();
     public void handleFailure();
@@ -86,13 +84,12 @@ public interface ITmfDataRequest<T extends TmfData> {
      * To suspend the client thread until the request completes
      * (or is canceled).
      */
-    public void waitForCompletion() throws InterruptedException;
+    public void waitForCompletion();
 
        // ------------------------------------------------------------------------
        // Request state modifiers
        // ------------------------------------------------------------------------
 
-    public void start();
     public void done();
     public void fail();
     public void cancel();
This page took 0.023895 seconds and 5 git commands to generate.