public class SolrClientCloudManager extends Object implements SolrCloudManager
SolrCloudManager using a SolrClient| Modifier and Type | Field and Description |
|---|---|
protected CloudSolrClient |
solrClient |
| Constructor and Description |
|---|
SolrClientCloudManager(DistributedQueueFactory queueFactory,
CloudSolrClient solrClient) |
SolrClientCloudManager(DistributedQueueFactory queueFactory,
CloudSolrClient solrClient,
ObjectCache objectCache) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ClusterStateProvider |
getClusterStateProvider() |
DistribStateManager |
getDistribStateManager() |
DistributedQueueFactory |
getDistributedQueueFactory() |
NodeStateProvider |
getNodeStateProvider() |
ObjectCache |
getObjectCache() |
TimeSource |
getTimeSource() |
SolrZkClient |
getZkClient() |
byte[] |
httpRequest(String url,
SolrRequest.METHOD method,
Map<String,String> headers,
String payload,
int timeout,
boolean followRedirects) |
boolean |
isClosed() |
SolrResponse |
request(SolrRequest req) |
protected final CloudSolrClient solrClient
public SolrClientCloudManager(DistributedQueueFactory queueFactory, CloudSolrClient solrClient)
public SolrClientCloudManager(DistributedQueueFactory queueFactory, CloudSolrClient solrClient, ObjectCache objectCache)
public void close()
close in interface Closeableclose in interface AutoCloseablepublic boolean isClosed()
isClosed in interface SolrCloseablepublic ObjectCache getObjectCache()
getObjectCache in interface SolrCloudManagerpublic TimeSource getTimeSource()
getTimeSource in interface SolrCloudManagerpublic ClusterStateProvider getClusterStateProvider()
getClusterStateProvider in interface SolrCloudManagerpublic NodeStateProvider getNodeStateProvider()
getNodeStateProvider in interface SolrCloudManagerpublic DistribStateManager getDistribStateManager()
getDistribStateManager in interface SolrCloudManagerpublic SolrResponse request(SolrRequest req) throws IOException
request in interface SolrCloudManagerIOExceptionpublic byte[] httpRequest(String url, SolrRequest.METHOD method, Map<String,String> headers, String payload, int timeout, boolean followRedirects) throws IOException
httpRequest in interface SolrCloudManagerIOExceptionpublic SolrZkClient getZkClient()
public DistributedQueueFactory getDistributedQueueFactory()
getDistributedQueueFactory in interface SolrCloudManagerCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.