public class ConcurrentUpdateHttp2SolrClient extends SolrClient
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ConcurrentUpdateHttp2SolrClient.BuilderConstructs  ConcurrentUpdateHttp2SolrClientinstances from provided configuration. | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | ConcurrentUpdateHttp2SolrClient(ConcurrentUpdateHttp2SolrClient.Builder builder) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | blockUntilFinished() | 
| void | close() | 
| void | handleError(Throwable ex) | 
| void | onSuccess(org.eclipse.jetty.client.api.Response resp,
         InputStream respBody)Intended to be used as an extension point for doing post processing after a request completes. | 
| NamedList<Object> | request(SolrRequest request,
       String collection)Execute a request against a Solr server for a given collection | 
| void | setPollQueueTime(int pollQueueTime) | 
| void | shutdownNow() | 
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, optimize, optimize, optimize, optimize, optimize, optimize, ping, ping, query, query, query, query, queryAndStreamResponse, queryAndStreamResponse, queryAndStreamResponse, request, rollback, rollbackprotected ConcurrentUpdateHttp2SolrClient(ConcurrentUpdateHttp2SolrClient.Builder builder)
public NamedList<Object> request(SolrRequest request, String collection) throws SolrServerException, IOException
SolrClientrequest in class SolrClientrequest - the request to executecollection - the collection to execute the request againstNamedList containing the response from the serverSolrServerException - if there is an error on the serverIOException - If there is a low-level I/O error.public void blockUntilFinished()
                        throws IOException
IOExceptionpublic void handleError(Throwable ex)
public void onSuccess(org.eclipse.jetty.client.api.Response resp,
                      InputStream respBody)
respBody - the body of the response, subclasses must not close this stream.public void close()
public void shutdownNow()
public void setPollQueueTime(int pollQueueTime)
pollQueueTime - time for an open connection to wait for updates when
 the queue is empty.Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.