X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=org.eclipse.linuxtools.tmf%2Fsrc%2Forg%2Feclipse%2Flinuxtools%2Ftmf%2Ftrace%2FITmfContext.java;h=44d3c5c292413296c460af7c5a6da6104b862a20;hb=abfad0aaf72fb70a528c1124c181b73063ef6404;hp=880f8c6e9f69f7c2f83a022af9e2dada3add86fa;hpb=452ad365ef4eefa84feb7314534d518f7639bfc1;p=deliverable%2Ftracecompass.git diff --git a/org.eclipse.linuxtools.tmf/src/org/eclipse/linuxtools/tmf/trace/ITmfContext.java b/org.eclipse.linuxtools.tmf/src/org/eclipse/linuxtools/tmf/trace/ITmfContext.java index 880f8c6e9f..44d3c5c292 100644 --- a/org.eclipse.linuxtools.tmf/src/org/eclipse/linuxtools/tmf/trace/ITmfContext.java +++ b/org.eclipse.linuxtools.tmf/src/org/eclipse/linuxtools/tmf/trace/ITmfContext.java @@ -17,7 +17,10 @@ package org.eclipse.linuxtools.tmf.trace; *

* This is a place-holder for the context objects. */ -public interface ITmfContext extends Cloneable { +public interface ITmfContext { + + public long UNKNOWN_RANK = -2L; + public long INITIAL_RANK = -1L; public void setLocation(ITmfLocation location); public ITmfLocation getLocation(); @@ -26,4 +29,5 @@ public interface ITmfContext extends Cloneable { public long getRank(); public void updateRank(int rank); + public boolean isValidRank(); }