Package org.apache.solr.update
Class StreamingSolrClients
- java.lang.Object
-
- org.apache.solr.update.StreamingSolrClients
-
public class StreamingSolrClients extends Object
-
-
Constructor Summary
Constructors Constructor Description StreamingSolrClients(UpdateShardHandler updateShardHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
blockUntilFinished()
void
clearErrors()
List<SolrCmdDistributor.SolrError>
getErrors()
org.apache.solr.client.solrj.impl.Http2SolrClient
getHttpClient()
org.apache.solr.client.solrj.SolrClient
getSolrClient(SolrCmdDistributor.Req req)
ExecutorService
getUpdateExecutor()
void
shutdown()
-
-
-
Constructor Detail
-
StreamingSolrClients
public StreamingSolrClients(UpdateShardHandler updateShardHandler)
-
-
Method Detail
-
getErrors
public List<SolrCmdDistributor.SolrError> getErrors()
-
clearErrors
public void clearErrors()
-
getSolrClient
public org.apache.solr.client.solrj.SolrClient getSolrClient(SolrCmdDistributor.Req req)
-
blockUntilFinished
public void blockUntilFinished() throws IOException
- Throws:
IOException
-
shutdown
public void shutdown()
-
getHttpClient
public org.apache.solr.client.solrj.impl.Http2SolrClient getHttpClient()
-
getUpdateExecutor
public ExecutorService getUpdateExecutor()
-
-