Class CancelTaskAPI
- java.lang.Object
-
- org.apache.solr.handler.admin.api.CancelTaskAPI
-
public class CancelTaskAPI extends Object
V2 API for cancelling a currently running "task".This API (GET /v2/collections/collectionName/tasks/cancel) is analogous to the v1 /solr/collectionName/tasks/cancel API.
-
-
Constructor Summary
Constructors Constructor Description CancelTaskAPI(QueryCancellationHandler cancellationHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancelActiveTask(SolrQueryRequest req, SolrQueryResponse rsp)
-
-
-
Constructor Detail
-
CancelTaskAPI
public CancelTaskAPI(QueryCancellationHandler cancellationHandler)
-
-
Method Detail
-
cancelActiveTask
public void cancelActiveTask(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
-