Class HealthCheckRequest
java.lang.Object
org.apache.solr.client.solrj.SolrRequest<HealthCheckResponse>
org.apache.solr.client.solrj.request.HealthCheckRequest
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequest
SolrRequest.ApiVersion, SolrRequest.METHOD, SolrRequest.SolrClientContext, SolrRequest.SolrRequestType -
Field Summary
FieldsFields inherited from class org.apache.solr.client.solrj.SolrRequest
SUPPORTED_METHODS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected HealthCheckResponsecreateResponse(NamedList<Object> namedList) Create a new SolrResponse to hold the response from the server.The parameters for this request; never null.voidsetMaxGenerationLag(int maxLagAllowed) Methods inherited from class org.apache.solr.client.solrj.SolrRequest
addHeader, addHeaders, getApiVersion, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getContentWriter, getHeaders, getMethod, getPath, getPreferredNodes, getQueryParams, getRequestType, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, processWithBaseUrl, requiresCollection, setBasicAuthCredentials, setMethod, setPath, setPreferredNodes, setQueryParams, setRequestType, setResponseParser, setStreamingResponseCallback, setUserPrincipal
-
Field Details
-
PARAM_MAX_GENERATION_LAG
- See Also:
-
-
Constructor Details
-
HealthCheckRequest
public HealthCheckRequest()
-
-
Method Details
-
setMaxGenerationLag
public void setMaxGenerationLag(int maxLagAllowed) -
getParams
Description copied from class:SolrRequestThe parameters for this request; never null. The runtime type may be mutable but modifications may not affect thisSolrRequestinstance, as it may return a new instance here every time. If the subclass specifies the response type asModifiableSolrParams, then one can expect it to change this request. If the subclass has a setter then one can expect this method to return the value set.- Specified by:
getParamsin classSolrRequest<HealthCheckResponse>
-
createResponse
Description copied from class:SolrRequestCreate a new SolrResponse to hold the response from the server. If the response extendsSolrResponse, then there's no need to use the arguments, asSolrResponse.setResponse(NamedList)will be called right after this method.- Specified by:
createResponsein classSolrRequest<HealthCheckResponse>- Parameters:
namedList- fromSolrClient.request(SolrRequest, String).
-