public class SolrClientCloudManager extends Object implements SolrCloudManager
SolrCloudManager using a SolrClient| Constructor and Description |
|---|
SolrClientCloudManager(DistributedQueueFactory queueFactory,
CloudSolrClient solrClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ClusterStateProvider |
getClusterStateProvider() |
DistribStateManager |
getDistribStateManager() |
DistributedQueueFactory |
getDistributedQueueFactory() |
NodeStateProvider |
getNodeStateProvider() |
byte[] |
httpRequest(String url,
SolrRequest.METHOD method,
Map<String,String> headers,
String payload,
int timeout,
boolean followRedirects) |
boolean |
isClosed() |
SolrResponse |
request(SolrRequest req) |
public SolrClientCloudManager(DistributedQueueFactory queueFactory, CloudSolrClient solrClient)
public void close()
close in interface Closeableclose in interface AutoCloseableclose in interface SolrCloudManagerpublic boolean isClosed()
isClosed in interface SolrCloseablepublic 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 DistributedQueueFactory getDistributedQueueFactory()
getDistributedQueueFactory in interface SolrCloudManagerCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.