Commit | Line | Data |
---|---|---|
6fd3c6e9 MAL |
1 | /********************************************************************** |
2 | * Copyright (c) 2014 Ericsson | |
3 | * | |
4 | * All rights reserved. This program and the accompanying materials are | |
5 | * made available under the terms of the Eclipse Public License v1.0 which | |
6 | * accompanies this distribution, and is available at | |
7 | * http://www.eclipse.org/legal/epl-v10.html | |
8 | * | |
9 | * Contributors: | |
10 | * Marc-Andre Laperle - Initial implementation | |
11 | **********************************************************************/ | |
12 | ||
2bdf0193 | 13 | package org.eclipse.tracecompass.tmf.core.trace; |
6fd3c6e9 MAL |
14 | |
15 | /** | |
16 | * An interface that provides information about the completeness of a trace. A | |
17 | * trace is considered complete when it is known that no more data will be added | |
18 | * to it. | |
6fd3c6e9 MAL |
19 | */ |
20 | public interface ITmfTraceCompleteness { | |
21 | ||
22 | /** | |
23 | * Returns whether or not a trace is complete. | |
24 | * | |
25 | * @return true if a trace is complete, false otherwise | |
26 | */ | |
27 | boolean isComplete(); | |
28 | ||
29 | /** | |
30 | * Set the completeness of a trace. | |
31 | * | |
32 | * @param isComplete | |
33 | * whether the trace should be considered complete or not | |
34 | */ | |
35 | void setComplete(boolean isComplete); | |
36 | } |