Interface SolrCloudManager
-
- All Superinterfaces:
AutoCloseable
,Closeable
,SolrCloseable
- All Known Implementing Classes:
DelegatingCloudManager
,SolrClientCloudManager
public interface SolrCloudManager extends SolrCloseable
This interface abstracts the access to a SolrCloud cluster, including interactions with Zookeeper, Solr and generic HTTP calls.This abstraction should be used when possible instead of directly referencing ZK, Solr and HTTP.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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)
-
Methods inherited from interface org.apache.solr.common.SolrCloseable
isClosed
-
-
-
-
Method Detail
-
getClusterStateProvider
ClusterStateProvider getClusterStateProvider()
-
getNodeStateProvider
NodeStateProvider getNodeStateProvider()
-
getDistribStateManager
DistribStateManager getDistribStateManager()
-
getDistributedQueueFactory
DistributedQueueFactory getDistributedQueueFactory()
-
getObjectCache
ObjectCache getObjectCache()
-
getTimeSource
TimeSource getTimeSource()
-
request
SolrResponse request(SolrRequest req) throws IOException
- Throws:
IOException
-
httpRequest
byte[] httpRequest(String url, SolrRequest.METHOD method, Map<String,String> headers, String payload, int timeout, boolean followRedirects) throws IOException
- Throws:
IOException
-
-