1 /*******************************************************************************
2 * Copyright (c) 2010 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 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.lttng
.state
.experiment
;
15 import org
.eclipse
.linuxtools
.lttng
.event
.LttngEvent
;
16 import org
.eclipse
.linuxtools
.lttng
.model
.LTTngTreeNode
;
17 import org
.eclipse
.linuxtools
.tmf
.event
.TmfTimeRange
;
18 import org
.eclipse
.linuxtools
.tmf
.experiment
.TmfExperiment
;
20 public interface IStateExperimentManager
{
23 // * Read all available traces from the nearest checkpoint from start position
24 // * to the end of a specified time range. One request per trace in the
25 // * experiment will be triggered
29 // * @param transactionID
33 // public abstract ILttngSyntEventRequest readExperimentTimeWindow(
34 // TmfTimeRange trange,
35 // Object origin, IRequestStatusListener listener,
36 // ITransEventProcessor processor);
39 // * Read available traces from the Experiment start time, One request per
40 // * trace in the Experiment
46 // public abstract void readExperiment(Object source,
47 // IRequestStatusListener listener, ITransEventProcessor processor);
50 * A new Experiment selected, notification received from the framework
51 * Notify the new experiment selection to the state handling managers
56 public abstract void experimentSelected_prep(
57 TmfExperiment
<LttngEvent
> experiment
);
63 public void experimentSelected(Object source
,
64 TmfExperiment
<LttngEvent
> experiment
);
69 public abstract TmfTimeRange
getExperimentTimeRange();
74 public abstract LTTngTreeNode
getSelectedExperiment();
77 * Wait for request completion upon experiment selection
81 public abstract void waitForCompletion(boolean wait
);
This page took 0.03113 seconds and 5 git commands to generate.