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.SolrCloseable
This interface abstracts the access to a SolrCloud cluster, including interactions with
Zookeeper, Solr.
This abstraction should be used when possible instead of directly referencing ZK, Solr and HTTP.
-
Method Summary
Modifier and TypeMethodDescriptiondefault org.apache.solr.common.cloud.ClusterStateorg.apache.solr.client.solrj.impl.ClusterStateProviderorg.apache.solr.common.util.ObjectCacheorg.apache.solr.client.solrj.impl.CloudSolrClientorg.apache.solr.common.util.TimeSourceMethods inherited from interface org.apache.solr.common.SolrCloseable
isClosed
-
Method Details
-
getSolrClient
org.apache.solr.client.solrj.impl.CloudSolrClient getSolrClient() -
getClusterStateProvider
org.apache.solr.client.solrj.impl.ClusterStateProvider getClusterStateProvider() -
getClusterState
- Throws:
IOException
-
getNodeStateProvider
NodeStateProvider getNodeStateProvider() -
getDistribStateManager
DistribStateManager getDistribStateManager() -
getObjectCache
org.apache.solr.common.util.ObjectCache getObjectCache() -
getTimeSource
org.apache.solr.common.util.TimeSource getTimeSource()
-