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