-/*******************************************************************************
- * Copyright (c) 2009, 2010 Ericsson
- *
- * All rights reserved. This program and the accompanying materials are
- * made available under the terms of the Eclipse Public License v1.0 which
- * accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Francois Chouinard - Initial API and implementation
- *******************************************************************************/
-
package org.eclipse.linuxtools.tmf.component;
import org.eclipse.linuxtools.tmf.event.TmfData;
-import org.eclipse.linuxtools.tmf.request.ITmfDataRequest;
+import org.eclipse.linuxtools.tmf.request.TmfDataRequest;
-/**
- * <b><u>ITmfDataRequest</u></b>
- * <p>
- * TODO: Implement me. Please.
- */
public interface ITmfDataProvider<T extends TmfData> {
- // ------------------------------------------------------------------------
- // Constants
- // ------------------------------------------------------------------------
-
- public enum ExecutionType { SHORT, LONG };
-
/**
* Queues the request for processing.
*
*
* @param request The request to process
*/
- public void sendRequest(ITmfDataRequest<T> request);
- public void sendRequest(ITmfDataRequest<T> request, ExecutionType type);
- public void fireRequests();
+ public void sendRequest(TmfDataRequest<T> request);
}