public class SolrClientCloudManager extends Object implements SolrCloudManager
SolrCloudManager
using a SolrClientConstructor 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 Closeable
close
in interface AutoCloseable
close
in interface SolrCloudManager
public boolean isClosed()
isClosed
in interface SolrCloseable
public ClusterStateProvider getClusterStateProvider()
getClusterStateProvider
in interface SolrCloudManager
public NodeStateProvider getNodeStateProvider()
getNodeStateProvider
in interface SolrCloudManager
public DistribStateManager getDistribStateManager()
getDistribStateManager
in interface SolrCloudManager
public SolrResponse request(SolrRequest req) throws IOException
request
in interface SolrCloudManager
IOException
public byte[] httpRequest(String url, SolrRequest.METHOD method, Map<String,String> headers, String payload, int timeout, boolean followRedirects) throws IOException
httpRequest
in interface SolrCloudManager
IOException
public DistributedQueueFactory getDistributedQueueFactory()
getDistributedQueueFactory
in interface SolrCloudManager
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.