public interface SolrClientPool
| Modifier and Type | Method and Description |
|---|---|
SolrClient |
getOrCreate(Index index,
SolrClientType solrClientType,
Function<SolrConfig,SolrClient> createFunction)
Get
SolrClient from the pool, or create it if it does not exist. |
void |
invalidateAll()
Invalidates the clients pool.
|
SolrClient getOrCreate(Index index, SolrClientType solrClientType, Function<SolrConfig,SolrClient> createFunction) throws SolrServiceException
SolrClient from the pool, or create it if it does not exist.index - - IndexsolrClientType - - SolrClientTypecreateFunction - - Method to be used to create SolrClient.SolrClientSolrServiceException - if an error occursvoid invalidateAll()
Copyright © 2017 SAP SE. All Rights Reserved.