Class ModifiedLBHttp2SolrClient
- java.lang.Object
-
- org.apache.solr.client.solrj.SolrClient
-
- org.apache.manifoldcf.agents.output.solr.ModifiedLBSolrClient
-
- org.apache.manifoldcf.agents.output.solr.ModifiedLBHttp2SolrClient
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Serializable,java.lang.AutoCloseable
public class ModifiedLBHttp2SolrClient extends ModifiedLBSolrClient
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.manifoldcf.agents.output.solr.ModifiedLBSolrClient
ModifiedLBSolrClient.Req, ModifiedLBSolrClient.Rsp, ModifiedLBSolrClient.ServerIterator, ModifiedLBSolrClient.ServerWrapper
-
-
Field Summary
-
Fields inherited from class org.apache.manifoldcf.agents.output.solr.ModifiedLBSolrClient
parser, queryParams, requestWriter, RETRY_CODES, zombieServers
-
-
Constructor Summary
Constructors Constructor Description ModifiedLBHttp2SolrClient(ModifiedHttp2SolrClient httpClient, java.lang.String... baseSolrUrls)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddQueryParams(java.lang.String queryOnlyParam)org.apache.solr.client.solrj.util.CancellableasyncReq(ModifiedLBSolrClient.Req req, org.apache.solr.client.solrj.util.AsyncListener<ModifiedLBSolrClient.Rsp> asyncListener)protected org.apache.solr.client.solrj.SolrClientgetClient(java.lang.String baseUrl)voidsetParser(org.apache.solr.client.solrj.ResponseParser parser)Changes theResponseParserthat will be used for the internal SolrServer objects.voidsetQueryParams(java.util.Set<java.lang.String> queryParams)Expert Method.voidsetRequestWriter(org.apache.solr.client.solrj.request.RequestWriter writer)Changes theRequestWriterthat will be used for the internal SolrServer objects.-
Methods inherited from class org.apache.manifoldcf.agents.output.solr.ModifiedLBSolrClient
addSolrServer, addZombie, close, createServerWrapper, doRequest, getParser, getQueryParams, getRequestWriter, normalize, pickServer, removeSolrServer, request, request, request, setAliveCheckInterval, updateAliveList
-
Methods inherited from class org.apache.solr.client.solrj.SolrClient
add, add, add, add, add, add, add, add, add, add, addBean, addBean, addBean, addBean, addBeans, addBeans, addBeans, addBeans, addBeans, addBeans, commit, commit, commit, commit, commit, commit, deleteById, deleteById, deleteById, deleteById, deleteById, deleteById, deleteById, deleteById, deleteByQuery, deleteByQuery, deleteByQuery, deleteByQuery, getBinder, getById, getById, getById, getById, getById, getById, getById, getById, getContext, optimize, optimize, optimize, optimize, optimize, optimize, ping, ping, query, query, query, query, queryAndStreamResponse, queryAndStreamResponse, queryAndStreamResponse, request, rollback, rollback
-
-
-
-
Constructor Detail
-
ModifiedLBHttp2SolrClient
public ModifiedLBHttp2SolrClient(ModifiedHttp2SolrClient httpClient, java.lang.String... baseSolrUrls)
-
-
Method Detail
-
getClient
protected org.apache.solr.client.solrj.SolrClient getClient(java.lang.String baseUrl)
- Specified by:
getClientin classModifiedLBSolrClient
-
setParser
public void setParser(org.apache.solr.client.solrj.ResponseParser parser)
Description copied from class:ModifiedLBSolrClientChanges theResponseParserthat will be used for the internal SolrServer objects.- Overrides:
setParserin classModifiedLBSolrClient- Parameters:
parser- Default Response Parser chosen to parse the response if the parser were not specified as part of the request.- See Also:
SolrRequest.getResponseParser()
-
setRequestWriter
public void setRequestWriter(org.apache.solr.client.solrj.request.RequestWriter writer)
Description copied from class:ModifiedLBSolrClientChanges theRequestWriterthat will be used for the internal SolrServer objects.- Overrides:
setRequestWriterin classModifiedLBSolrClient- Parameters:
writer- Default RequestWriter, used to encode requests sent to the server.
-
setQueryParams
public void setQueryParams(java.util.Set<java.lang.String> queryParams)
Description copied from class:ModifiedLBSolrClientExpert Method.- Overrides:
setQueryParamsin classModifiedLBSolrClient- Parameters:
queryParams- set of param keys to only send via the query string
-
addQueryParams
public void addQueryParams(java.lang.String queryOnlyParam)
- Overrides:
addQueryParamsin classModifiedLBSolrClient
-
asyncReq
public org.apache.solr.client.solrj.util.Cancellable asyncReq(ModifiedLBSolrClient.Req req, org.apache.solr.client.solrj.util.AsyncListener<ModifiedLBSolrClient.Rsp> asyncListener)
-
-