File tree Expand file tree Collapse file tree
core/http/client/src/main/java/org/eclipse/rdf4j/http/client Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 */
2121public final class QueryExecutionContext {
2222
23- private static final int CHECKPOINT_STRIDE_DEFAULT = 1024 ;
24- private static int CHECKPOINT_STRIDE = CHECKPOINT_STRIDE_DEFAULT ;
25- private static int CHECKPOINT_MASK = CHECKPOINT_STRIDE - 1 ;
23+ private static boolean ignoreCheckpointStride = false ;
24+ private static final int CHECKPOINT_STRIDE = 1024 ;
25+ private static final int CHECKPOINT_MASK = CHECKPOINT_STRIDE - 1 ;
2626 private static final ThreadLocal <State > CURRENT = new ThreadLocal <>();
2727 private static boolean heavyOperatorExecutionEnabled = true ;
2828 private static int checkpointCalls ;
@@ -96,6 +96,7 @@ public interface Activation extends AutoCloseable {
9696 }
9797
9898 private static boolean shouldCheckpoint () {
99+ if (ignoreCheckpointStride ) return true ;
99100 return ((++checkpointCalls ) & CHECKPOINT_MASK ) == 0 ;
100101 }
101102
You can’t perform that action at this time.
0 commit comments