tmf: Remove the concept of block size in event requests
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / internal / tmf / core / statesystem / backends / partial / PartialHistoryBackend.java
index 6ac15b551debbf2cdea6c5523e016101af7d6982..a73c5c0e8d223a9cf4bbcebc5ce509d47243979a 100644 (file)
@@ -283,10 +283,6 @@ public class PartialHistoryBackend implements IStateHistoryBackend {
     // ------------------------------------------------------------------------
 
     private class CheckpointsRequest extends TmfEventRequest {
-
-        /** The amount of events queried at a time through the requests */
-        private static final int CHUNK_SIZE = 50000;
-
         private final ITmfTrace trace;
         private final Map<Long, Long> checkpts;
         private long eventCount;
@@ -297,7 +293,6 @@ public class PartialHistoryBackend implements IStateHistoryBackend {
                     TmfTimeRange.ETERNITY,
                     0,
                     TmfDataRequest.ALL_DATA,
-                    CHUNK_SIZE,
                     ITmfDataRequest.ExecutionType.BACKGROUND);
             checkpoints.clear();
             this.trace = input.getTrace();
@@ -331,8 +326,6 @@ public class PartialHistoryBackend implements IStateHistoryBackend {
     }
 
     private class PartialStateSystemRequest extends TmfEventRequest {
-
-        private static final int CHUNK_SIZE = 50000;
         private final ITmfStateProvider sci;
         private final ITmfTrace trace;
 
@@ -341,7 +334,6 @@ public class PartialHistoryBackend implements IStateHistoryBackend {
                     range,
                     0,
                     TmfDataRequest.ALL_DATA,
-                    CHUNK_SIZE,
                     ITmfDataRequest.ExecutionType.BACKGROUND);
             this.sci = sci;
             this.trace = sci.getTrace();
This page took 0.04625 seconds and 5 git commands to generate.