Class HealthCheckRequest
- java.lang.Object
-
- org.apache.solr.client.solrj.SolrRequest<HealthCheckResponse>
-
- org.apache.solr.client.solrj.request.HealthCheckRequest
-
- All Implemented Interfaces:
Serializable
public class HealthCheckRequest extends SolrRequest<HealthCheckResponse>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequest
SolrRequest.METHOD, SolrRequest.SolrClientContext, SolrRequest.SolrRequestType
-
-
Field Summary
Fields Modifier and Type Field Description static StringPARAM_MAX_GENERATION_LAG-
Fields inherited from class org.apache.solr.client.solrj.SolrRequest
SUPPORTED_METHODS, useBinaryV2, usev2
-
-
Constructor Summary
Constructors Constructor Description HealthCheckRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected HealthCheckResponsecreateResponse(SolrClient client)Create a new SolrResponse to hold the response from the serverSolrParamsgetParams()StringgetRequestType()This method defines the type of this Solr request.voidsetMaxGenerationLag(int maxLagAllowed)-
Methods inherited from class org.apache.solr.client.solrj.SolrRequest
addHeader, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getContentWriter, getHeaders, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2
-
-
-
-
Field Detail
-
PARAM_MAX_GENERATION_LAG
public static final String PARAM_MAX_GENERATION_LAG
- See Also:
- Constant Field Values
-
-
Method Detail
-
setMaxGenerationLag
public void setMaxGenerationLag(int maxLagAllowed)
-
getParams
public SolrParams getParams()
- Specified by:
getParamsin classSolrRequest<HealthCheckResponse>
-
createResponse
protected HealthCheckResponse createResponse(SolrClient client)
Description copied from class:SolrRequestCreate a new SolrResponse to hold the response from the server- Specified by:
createResponsein classSolrRequest<HealthCheckResponse>- Parameters:
client- theSolrClientthe request will be sent to
-
getRequestType
public String getRequestType()
Description copied from class:SolrRequestThis method defines the type of this Solr request.- Specified by:
getRequestTypein classSolrRequest<HealthCheckResponse>
-
-