Class RequestCoreCommandStatusAPI
- java.lang.Object
-
- org.apache.solr.handler.admin.api.RequestCoreCommandStatusAPI
-
public class RequestCoreCommandStatusAPI extends Object
V2 API for checking the status of a core-level asynchronous command.This API (GET /v2/cores/command-status/someId is analogous to the v1 /admin/cores?action=REQUESTSTATUS command. It is not to be confused with the more robust asynchronous command support offered under the v2 `/cluster/command-status` path (or the corresponding v1 path `/solr/admin/collections?action=REQUESTSTATUS`). Async support at the core level differs in that command IDs are local to individual Solr nodes and are not persisted across restarts.
- See Also:
RequestSyncShardPayload
-
-
Constructor Summary
Constructors Constructor Description RequestCoreCommandStatusAPI(CoreAdminHandler coreAdminHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getCommandStatus(SolrQueryRequest req, SolrQueryResponse rsp)
-
-
-
Constructor Detail
-
RequestCoreCommandStatusAPI
public RequestCoreCommandStatusAPI(CoreAdminHandler coreAdminHandler)
-
-
Method Detail
-
getCommandStatus
public void getCommandStatus(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception
- Throws:
Exception
-
-