1 /*******************************************************************************
2 * Copyright (c) 20010 Ericsson
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
10 * Alvaro Sanchez-Leon (alvsan09@gmail.com) - Initial API and implementation
11 *******************************************************************************/
12 package org
.eclipse
.linuxtools
.lttng
.request
;
14 import org
.eclipse
.linuxtools
.lttng
.event
.LttngSyntheticEvent
;
15 import org
.eclipse
.linuxtools
.tmf
.component
.TmfEventProvider
;
16 import org
.eclipse
.linuxtools
.tmf
.event
.TmfTimeRange
;
17 import org
.eclipse
.linuxtools
.tmf
.request
.ITmfDataRequest
;
19 public interface ILttngSyntEventRequest
extends ITmfDataRequest
<LttngSyntheticEvent
> {
22 * Trigger the start to process this request right after the notification to
23 * the interested listeners
27 * true: All views, false: only to registered listeners
29 public abstract void startRequestInd(
30 TmfEventProvider
<LttngSyntheticEvent
> provider
);
33 * to be called by the handleCompletion in superclass method, notifies the
34 * interested listeners. i.e. if the request start indicated broadcast, the
35 * completion will also be broadcasted otherwise only registered listeners
38 public abstract void notifyCompletion();
40 public abstract void notifyStarting();
42 public abstract TmfTimeRange
getExperimentTimeRange();
46 * the numOfEvents to set
48 public abstract void setSynEventCount(Long numOfEvents
);
51 * @return the numOfEvents
53 public abstract Long
getSynEventCount();
57 * indicates the need to clear all previous data e.g. a new
58 * experiment selection
60 public abstract void setclearDataInd(boolean clearAllData
);
63 * Returns indication - clearing of all existing data model is required e.g
64 * from the selection of a new experiment
68 public abstract boolean isclearDataInd();
72 * The associated source of the request
75 * Returns null if no source object has been previously set
79 public abstract Object
getSource();
82 * Sets a reference to the source of this request
86 public abstract void setSource(Object source
);
90 * Return the time range associated to this request
94 public abstract TmfTimeRange
getRange();
96 public abstract String
getExperimentName();
This page took 0.03486 seconds and 6 git commands to generate.