Class OverseerOperationAPI
- java.lang.Object
-
- org.apache.solr.handler.admin.api.OverseerOperationAPI
-
public class OverseerOperationAPI extends Object
V2 API for triggering a node to rejoin leader election for the 'overseer' role.This API (POST /v2/node {'overseer-op': {...}}) is analogous to the v1 /admin/cores?action=overseerop command.
- See Also:
OverseerOperationPayload
-
-
Field Summary
Fields Modifier and Type Field Description static String
OVERSEER_OP_CMD
-
Constructor Summary
Constructors Constructor Description OverseerOperationAPI(CoreAdminHandler coreAdminHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
joinOverseerLeaderElection(PayloadObj<org.apache.solr.client.solrj.request.beans.OverseerOperationPayload> payload)
-
-
-
Field Detail
-
OVERSEER_OP_CMD
public static final String OVERSEER_OP_CMD
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OverseerOperationAPI
public OverseerOperationAPI(CoreAdminHandler coreAdminHandler)
-
-
Method Detail
-
joinOverseerLeaderElection
public void joinOverseerLeaderElection(PayloadObj<org.apache.solr.client.solrj.request.beans.OverseerOperationPayload> payload) throws Exception
- Throws:
Exception
-
-