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 | ||
13 | package org.eclipse.linuxtools.tmf.core.trace; | |
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. | |
19 | * | |
20 | * @since 3.1 | |
21 | */ | |
22 | public interface ITmfTraceCompleteness { | |
23 | ||
24 | /** | |
25 | * Returns whether or not a trace is complete. | |
26 | * | |
27 | * @return true if a trace is complete, false otherwise | |
28 | */ | |
29 | boolean isComplete(); | |
30 | ||
31 | /** | |
32 | * Set the completeness of a trace. | |
33 | * | |
34 | * @param isComplete | |
35 | * whether the trace should be considered complete or not | |
36 | */ | |
37 | void setComplete(boolean isComplete); | |
38 | } |