public interface SolrCloudManager extends SolrCloseable
This abstraction should be used when possible instead of directly referencing ZK, Solr and HTTP.
| Modifier and Type | Method and Description |
|---|---|
default 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) |
SolrResponse |
request(SolrRequest req) |
isClosedClusterStateProvider getClusterStateProvider()
NodeStateProvider getNodeStateProvider()
DistribStateManager getDistribStateManager()
DistributedQueueFactory getDistributedQueueFactory()
SolrResponse request(SolrRequest req) throws IOException
IOExceptionbyte[] httpRequest(String url, SolrRequest.METHOD method, Map<String,String> headers, String payload, int timeout, boolean followRedirects) throws IOException
IOExceptiondefault void close()
close in interface AutoCloseableclose in interface CloseableCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.