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 |
---|---|
ClusterStateProvider |
getClusterStateProvider() |
DistribStateManager |
getDistribStateManager() |
DistributedQueueFactory |
getDistributedQueueFactory() |
NodeStateProvider |
getNodeStateProvider() |
ObjectCache |
getObjectCache() |
TimeSource |
getTimeSource() |
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()
ObjectCache getObjectCache()
TimeSource getTimeSource()
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
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.