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
.internal
.lttng
.core
.request
;
14 import org
.eclipse
.linuxtools
.tmf
.core
.component
.TmfEventProvider
;
15 import org
.eclipse
.linuxtools
.tmf
.core
.event
.TmfTimeRange
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.request
.ITmfDataRequest
;
18 public interface ILttngSyntEventRequest
extends ITmfDataRequest
{
21 * Trigger the start to process this request right after the notification to
22 * the interested listeners
26 * true: All views, false: only to registered listeners
28 public abstract void startRequestInd(
29 TmfEventProvider provider
);
32 * to be called by the handleCompletion in superclass method, notifies the
33 * interested listeners. i.e. if the request start indicated broadcast, the
34 * completion will also be broadcasted otherwise only registered listeners
37 public abstract void notifyCompletion();
39 public abstract void notifyStarting();
41 public abstract TmfTimeRange
getExperimentTimeRange();
45 * the numOfEvents to set
47 public abstract void setSynEventCount(Long numOfEvents
);
50 * @return the numOfEvents
52 public abstract Long
getSynEventCount();
56 * indicates the need to clear all previous data e.g. a new
57 * experiment selection
59 public abstract void setclearDataInd(boolean clearAllData
);
62 * Returns indication - clearing of all existing data model is required e.g
63 * from the selection of a new experiment
67 public abstract boolean isclearDataInd();
71 * The associated source of the request
74 * Returns null if no source object has been previously set
78 public abstract Object
getSource();
81 * Sets a reference to the source of this request
85 public abstract void setSource(Object source
);
89 * Return the time range associated to this request
93 public abstract TmfTimeRange
getRange();
95 public abstract String
getExperimentName();