import org.eclipse.linuxtools.tmf.event.TmfEvent;
import org.eclipse.linuxtools.tmf.event.TmfTimestamp;
+import org.eclipse.linuxtools.tmf.request.TmfCoalescedEventRequest;
import org.eclipse.linuxtools.tmf.request.TmfDataRequest;
import org.eclipse.linuxtools.tmf.request.TmfEventRequest;
return dataRequestCompleted;
}
+ @Override
+ protected synchronized void newCoalescedDataRequest(TmfDataRequest<T> request) {
+ if (request instanceof TmfEventRequest<?>) {
+ TmfEventRequest<T> eventRequest = (TmfEventRequest<T>) request;
+ TmfCoalescedEventRequest<T> coalescedRequest =
+ new TmfCoalescedEventRequest<T>(fType, eventRequest.getRange(), eventRequest.getNbRequested(), eventRequest.getBlockize());
+ coalescedRequest.addRequest(eventRequest);
+ fPendingCoalescedRequests.add(coalescedRequest);
+ }
+ }
+
}