Class RequestCoreRecoveryAPI
- java.lang.Object
-
- org.apache.solr.handler.admin.api.RequestCoreRecoveryAPI
-
public class RequestCoreRecoveryAPI extends Object
Internal V2 API triggering recovery on a core.Only valid in SolrCloud mode. This API (POST /v2/cores/coreName {'request-recovery': {}}) is analogous to the v1 /admin/cores?action=REQUESTRECOVERY command.
- See Also:
RequestCoreRecoveryPayload
-
-
Field Summary
Fields Modifier and Type Field Description static String
V2_REQUEST_RECOVERY_CMD
-
Constructor Summary
Constructors Constructor Description RequestCoreRecoveryAPI(CoreAdminHandler coreAdminHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
requestCoreRecovery(PayloadObj<org.apache.solr.client.solrj.request.beans.RequestCoreRecoveryPayload> obj)
-
-
-
Field Detail
-
V2_REQUEST_RECOVERY_CMD
public static final String V2_REQUEST_RECOVERY_CMD
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RequestCoreRecoveryAPI
public RequestCoreRecoveryAPI(CoreAdminHandler coreAdminHandler)
-
-
Method Detail
-
requestCoreRecovery
public void requestCoreRecovery(PayloadObj<org.apache.solr.client.solrj.request.beans.RequestCoreRecoveryPayload> obj) throws Exception
- Throws:
Exception
-
-