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 Details

    • CONCURRENT

      protected static final org.apache.jena.graph.Node CONCURRENT
    • executorService

      protected ExecutorService 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:
      createExecution in interface org.apache.jena.sparql.service.bulk.ChainingServiceExecutorBulk