Interface SolrCloudManager
- 
- All Superinterfaces:
- AutoCloseable,- Closeable,- org.apache.solr.common.SolrCloseable
 - All Known Implementing Classes:
- DelegatingCloudManager,- SolrClientCloudManager
 
 public interface SolrCloudManager extends org.apache.solr.common.SolrCloseableThis 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 SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default org.apache.solr.common.cloud.ClusterStategetClusterState()org.apache.solr.client.solrj.impl.ClusterStateProvidergetClusterStateProvider()DistribStateManagergetDistribStateManager()DistributedQueueFactorygetDistributedQueueFactory()NodeStateProvidergetNodeStateProvider()org.apache.solr.common.util.ObjectCachegetObjectCache()org.apache.solr.common.util.TimeSourcegetTimeSource()byte[]httpRequest(String url, org.apache.solr.client.solrj.SolrRequest.METHOD method, Map<String,String> headers, String payload, int timeout, boolean followRedirects)<T extends org.apache.solr.client.solrj.SolrResponse>
 Trequest(org.apache.solr.client.solrj.SolrRequest<T> req)
 
- 
- 
- 
Method Detail- 
getClusterStateProviderorg.apache.solr.client.solrj.impl.ClusterStateProvider getClusterStateProvider() 
 - 
getClusterStatedefault org.apache.solr.common.cloud.ClusterState getClusterState() throws IOException- Throws:
- IOException
 
 - 
getNodeStateProviderNodeStateProvider getNodeStateProvider() 
 - 
getDistribStateManagerDistribStateManager getDistribStateManager() 
 - 
getDistributedQueueFactoryDistributedQueueFactory getDistributedQueueFactory() 
 - 
getObjectCacheorg.apache.solr.common.util.ObjectCache getObjectCache() 
 - 
getTimeSourceorg.apache.solr.common.util.TimeSource getTimeSource() 
 - 
request<T extends org.apache.solr.client.solrj.SolrResponse> T request(org.apache.solr.client.solrj.SolrRequest<T> req) throws IOException- Throws:
- IOException
 
 - 
httpRequestbyte[] httpRequest(String url, org.apache.solr.client.solrj.SolrRequest.METHOD method, Map<String,String> headers, String payload, int timeout, boolean followRedirects) throws IOException - Throws:
- IOException
 
 
- 
 
-