Package org.aksw.jenax.arq.service.vfs
Class ServiceExecutorFactoryRegistratorVfs.ChainingServiceExecutorConcurrentSimple
java.lang.Object
org.aksw.jenax.arq.service.vfs.ServiceExecutorFactoryRegistratorVfs.ChainingServiceExecutorConcurrentSimple
- All Implemented Interfaces:
org.apache.jena.sparql.service.bulk.ChainingServiceExecutorBulk
- Enclosing class:
- ServiceExecutorFactoryRegistratorVfs
public static class ServiceExecutorFactoryRegistratorVfs.ChainingServiceExecutorConcurrentSimple
extends Object
implements org.apache.jena.sparql.service.bulk.ChainingServiceExecutorBulk
Read ahead a certain amount of items from the lhs and
concurrently start fetching the corresponding data for the rhs.
Incorrect use may waste resources by reading ahead too many
items that will not be needed.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.apache.jena.graph.Nodeprotected ExecutorServiceprotected int -
Constructor Summary
ConstructorsConstructorDescriptionChainingServiceExecutorConcurrentSimple(ExecutorService executorService, int maxConcurrentTasks) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.sparql.engine.QueryIteratorcreateExecution(org.apache.jena.sparql.algebra.op.OpService opService, org.apache.jena.sparql.engine.QueryIterator input, org.apache.jena.sparql.engine.ExecutionContext execCxt, org.apache.jena.sparql.service.bulk.ServiceExecutorBulk chain)
-
Field Details
-
CONCURRENT
protected static final org.apache.jena.graph.Node CONCURRENT -
executorService
-
maxConcurrentTasks
protected int maxConcurrentTasks
-
-
Constructor Details
-
ChainingServiceExecutorConcurrentSimple
public ChainingServiceExecutorConcurrentSimple(ExecutorService executorService, int maxConcurrentTasks)
-
-
Method Details
-
createExecution
public org.apache.jena.sparql.engine.QueryIterator createExecution(org.apache.jena.sparql.algebra.op.OpService opService, org.apache.jena.sparql.engine.QueryIterator input, org.apache.jena.sparql.engine.ExecutionContext execCxt, org.apache.jena.sparql.service.bulk.ServiceExecutorBulk chain) - Specified by:
createExecutionin interfaceorg.apache.jena.sparql.service.bulk.ChainingServiceExecutorBulk
-