public class SolrClientsWrapper extends Object
| Constructor and Description |
|---|
SolrClientsWrapper(CachedSolrClient searchClient,
CachedSolrClient indexClient,
Long[] timestamps)
Constructor.
|
SolrClientsWrapper(Long[] timestamps) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes all
SolrClient instances that it has reference to. |
CachedSolrClient |
getIndexClient() |
CachedSolrClient |
getSearchClient() |
Long[] |
getTimestamps() |
void |
setIndexClient(CachedSolrClient indexClient) |
void |
setSearchClient(CachedSolrClient searchClient) |
public SolrClientsWrapper(Long[] timestamps)
timestamps - - Solr server configuration timestampspublic SolrClientsWrapper(CachedSolrClient searchClient, CachedSolrClient indexClient, Long[] timestamps)
searchClient - - client used for searchesindexClient - - client used for indexingtimestamps - - Solr server configuration timestampspublic CachedSolrClient getSearchClient()
public void setSearchClient(CachedSolrClient searchClient)
public CachedSolrClient getIndexClient()
public void setIndexClient(CachedSolrClient indexClient)
public Long[] getTimestamps()
public void close()
SolrClient instances that it has reference to.Copyright © 2017 SAP SE. All Rights Reserved.