Class QueryExecutionTimeoutExogeneous

java.lang.Object
org.aksw.jenax.dataaccess.sparql.execution.query.QueryExecutionWrapperBase<org.apache.jena.query.QueryExecution>
org.aksw.jena_sparql_api.timeout.QueryExecutionTimeoutExogeneous
All Implemented Interfaces:
AutoCloseable, QueryExecutionWrapper, org.apache.jena.query.QueryExecution

public class QueryExecutionTimeoutExogeneous extends QueryExecutionWrapperBase<org.apache.jena.query.QueryExecution>
Query execution that applies a timeout "from the outside" (= exogeneous). Upon query execution, a new thread is created that calls .abort() on the underlying query execution once the timeout is reached.
Author:
Claus Stadler, Oct 9, 2018
  • Field Details

    • duration1

      protected Duration duration1
    • duration2

      protected Duration duration2
    • thread

      protected Thread thread
    • reachedTimeout

      protected boolean reachedTimeout
  • Constructor Details

    • QueryExecutionTimeoutExogeneous

      public QueryExecutionTimeoutExogeneous(org.apache.jena.query.QueryExecution decoratee)
  • Method Details