public class SolrClientsWrapper
extends java.lang.Object
implements java.io.Closeable
| Constructor and Description |
|---|
SolrClientsWrapper(CachedSolrClient searchClient,
CachedSolrClient indexClient,
java.lang.Long[] timestamps)
Deprecated.
Since 6.6 this is no longer used, replaced by
#SolrClientsWrapper(String) |
SolrClientsWrapper(java.lang.Long[] timestamps)
Deprecated.
Since 6.6 this is no longer used, replaced by
#SolrClientsWrapper(String) |
SolrClientsWrapper(SolrConfig solrConfig)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes all
SolrClient instances that it has reference to. |
java.lang.String |
getConfigName() |
java.lang.String |
getConfigVersion() |
CachedSolrClient |
getIndexClient() |
CachedSolrClient |
getSearchClient() |
java.lang.Long[] |
getTimestamps()
Deprecated.
Since 6.6 this is no longer used, replaced by
#getVersion() |
void |
setIndexClient(CachedSolrClient indexClient) |
void |
setSearchClient(CachedSolrClient searchClient) |
public SolrClientsWrapper(SolrConfig solrConfig)
solrConfig - - the Solr configuration@Deprecated public SolrClientsWrapper(java.lang.Long[] timestamps)
#SolrClientsWrapper(String)timestamps - - Solr server configuration timestamps@Deprecated public SolrClientsWrapper(CachedSolrClient searchClient, CachedSolrClient indexClient, java.lang.Long[] timestamps)
#SolrClientsWrapper(String)searchClient - - client used for searchesindexClient - - client used for indexingtimestamps - - Solr server configuration timestampspublic java.lang.String getConfigName()
public java.lang.String getConfigVersion()
public CachedSolrClient getSearchClient()
public void setSearchClient(CachedSolrClient searchClient)
public CachedSolrClient getIndexClient()
public void setIndexClient(CachedSolrClient indexClient)
@Deprecated public java.lang.Long[] getTimestamps()
#getVersion()public void close()
SolrClient instances that it has reference to.close in interface java.io.Closeableclose in interface java.lang.AutoCloseableCopyright © 2018 SAP SE. All Rights Reserved.