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