lttng: More luna annotation updates
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / trace / ITmfTraceIndexer.java
index 41f162aacba1c2fb06fa0d40bd97ec8fb19805cb..a36b3e039a473c0a62b0159652a5eb007eb68890 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -13,8 +13,8 @@
 package org.eclipse.linuxtools.tmf.core.trace;
 
 import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;
-import org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp;
-import org.eclipse.linuxtools.tmf.core.event.TmfTimeRange;
+import org.eclipse.linuxtools.tmf.core.timestamp.ITmfTimestamp;
+import org.eclipse.linuxtools.tmf.core.timestamp.TmfTimeRange;
 
 /**
  * The generic trace indexer in TMF with support for incremental indexing.
@@ -66,8 +66,9 @@ public interface ITmfTraceIndexer {
      * @param waitForCompletion
      *            Should we block the calling thread until the build is
      *            complete?
+     * @since 2.0
      */
-    public void buildIndex(long offset, TmfTimeRange range, boolean waitForCompletion);
+    void buildIndex(long offset, TmfTimeRange range, boolean waitForCompletion);
 
     /**
      * Indicates that the indexer is busy indexing the trace.
@@ -75,15 +76,16 @@ public interface ITmfTraceIndexer {
      *
      * @return the state of the indexer (indexing or not)
      */
-    public boolean isIndexing();
+    boolean isIndexing();
 
     /**
      * Adds an entry to the trace index.
      *
      * @param context The trace context to save
      * @param timestamp The timestamp matching this context
+     * @since 2.0
      */
-    public void updateIndex(ITmfContext context, ITmfTimestamp timestamp);
+    void updateIndex(ITmfContext context, ITmfTimestamp timestamp);
 
     /**
      * Returns the context of the checkpoint immediately preceding the requested
@@ -91,8 +93,9 @@ public interface ITmfTraceIndexer {
      *
      * @param timestamp the requested timestamp
      * @return the checkpoint context
+     * @since 2.0
      */
-    public ITmfContext seekIndex(ITmfTimestamp timestamp);
+    ITmfContext seekIndex(ITmfTimestamp timestamp);
 
     /**
      * Returns the context of the checkpoint immediately preceding the requested
@@ -101,11 +104,11 @@ public interface ITmfTraceIndexer {
      * @param rank the requested event rank
      * @return the checkpoint context
      */
-    public ITmfContext seekIndex(long rank);
+    ITmfContext seekIndex(long rank);
 
     /**
      * Perform cleanup when the indexer is no longer required.
      */
-    public void dispose();
+    void dispose();
 
 }
This page took 0.025862 seconds and 5 git commands to generate.