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 ClusterStateProvidergetClusterStateProvider()DistribStateManagergetDistribStateManager()DistributedQueueFactorygetDistributedQueueFactory()NodeStateProvidergetNodeStateProvider()ObjectCachegetObjectCache()TimeSourcegetTimeSource()byte[]httpRequest(String url, SolrRequest.METHOD method, Map<String,String> headers, String payload, int timeout, boolean followRedirects)SolrResponserequest(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
-
-