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 String
PARAM_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 HealthCheckResponse
createResponse(SolrClient client)
Create a new SolrResponse to hold the response from the serverSolrParams
getParams()
String
getRequestType()
This method defines the type of this Solr request.void
setMaxGenerationLag(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:
getParams
in classSolrRequest<HealthCheckResponse>
-
createResponse
protected HealthCheckResponse createResponse(SolrClient client)
Description copied from class:SolrRequest
Create a new SolrResponse to hold the response from the server- Specified by:
createResponse
in classSolrRequest<HealthCheckResponse>
- Parameters:
client
- theSolrClient
the request will be sent to
-
getRequestType
public String getRequestType()
Description copied from class:SolrRequest
This method defines the type of this Solr request.- Specified by:
getRequestType
in classSolrRequest<HealthCheckResponse>
-
-