Class RequestBufferUpdatesAPI
- java.lang.Object
-
- org.apache.solr.handler.admin.api.RequestBufferUpdatesAPI
-
public class RequestBufferUpdatesAPI extends Object
Internal V2 API used to start update-buffering on the specified core.Only valid in SolrCloud mode. This API (POST /v2/cores/coreName {'request-buffer-updates': {}}) is analogous to the v1 /admin/cores?action=REQUESTBUFFERUPDATES command.
- See Also:
RequestSyncShardPayload
-
-
Field Summary
Fields Modifier and Type Field Description static String
V2_REQUEST_BUFFER_UPDATES_CMD
-
Constructor Summary
Constructors Constructor Description RequestBufferUpdatesAPI(CoreAdminHandler coreAdminHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
requestBufferUpdates(PayloadObj<org.apache.solr.client.solrj.request.beans.RequestBufferUpdatesPayload> obj)
-
-
-
Field Detail
-
V2_REQUEST_BUFFER_UPDATES_CMD
public static final String V2_REQUEST_BUFFER_UPDATES_CMD
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RequestBufferUpdatesAPI
public RequestBufferUpdatesAPI(CoreAdminHandler coreAdminHandler)
-
-
Method Detail
-
requestBufferUpdates
public void requestBufferUpdates(PayloadObj<org.apache.solr.client.solrj.request.beans.RequestBufferUpdatesPayload> obj) throws Exception
- Throws:
Exception
-
-