public class CachedSolrClient
extends SolrClient
SolrClient instance. This is a wrapper around the real SolrClient.| Constructor and Description |
|---|
CachedSolrClient(SolrClient delegate)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addConsumer()
Notifies this client that there is a new consumer.
|
void |
close()
Notifies this client to remove one consumer.
|
SolrClient |
getDelegate()
Returns the delegate Solr client.
|
<any> |
request(SolrRequest solrRequest,
String collection) |
public CachedSolrClient(SolrClient delegate)
delegate - - delegate SolrClientpublic <any> request(SolrRequest solrRequest,
String collection)
throws SolrServerException,
IOException
SolrServerExceptionIOExceptionpublic void close()
throws IOException
SolrClient#close() is called on the delegate client.IOExceptionpublic void addConsumer()
public SolrClient getDelegate()
Copyright © 2017 SAP SE. All Rights Reserved.