public class QueryCancellationHelper extends Object
Constructor and Description |
---|
QueryCancellationHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
cancelQueries(Collection<UUID> queryIds,
QueryEngine queryEngine) |
static void |
cancelQuery(UUID queryId,
QueryEngine queryEngine) |
static boolean |
tryCancelQuery(QueryEngine queryEngine,
UUID queryId)
Attempt to cancel a running SPARQL Query
|
static boolean |
tryCancelUpdate(QueryEngine queryEngine,
RunningQuery query)
Attempt to cancel a running SPARQL UPDATE request.
|
static boolean |
tryCancelUpdate(QueryEngine queryEngine,
UUID queryId,
Future<Void> f) |
public static void cancelQuery(UUID queryId, QueryEngine queryEngine)
public static void cancelQueries(Collection<UUID> queryIds, QueryEngine queryEngine)
public static boolean tryCancelQuery(QueryEngine queryEngine, UUID queryId)
queryEngine
- queryId
- public static boolean tryCancelUpdate(QueryEngine queryEngine, RunningQuery query)
context
- queryId
- public static boolean tryCancelUpdate(QueryEngine queryEngine, UUID queryId, Future<Void> f)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.