Commit | Line | Data |
---|---|---|
9b635e61 FC |
1 | package org.eclipse.linuxtools.tmf.component; |
2 | ||
3 | import org.eclipse.linuxtools.tmf.request.ITmfDataRequest.ExecutionType; | |
4 | ||
5 | public class TmfThread extends Thread { // implements Comparator<ITmfDataRequest<?>> { | |
6 | ||
7 | private final ExecutionType fExecType; | |
8 | ||
9 | public TmfThread(ExecutionType execType) { | |
10 | fExecType = execType; | |
11 | } | |
12 | ||
13 | public ExecutionType getExecType() { | |
14 | return fExecType; | |
15 | } | |
16 | // | |
17 | // public int compare(ITmfDataRequest<?> o1, ITmfDataRequest<?> o2) { | |
18 | // if (o1.getExecType() == o2.getExecType()) | |
19 | // return 0; | |
20 | // if (o1.getExecType() == ExecutionType.SHORT) | |
21 | // return -1; | |
22 | // return 1; | |
23 | // } | |
24 | ||
25 | } |