Package org.apache.solr.cluster.api
Interface SolrCluster
- 
 public interface SolrClusterRepresents a Solr cluster
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description SimpleMap<SolrCollection>collections()collections in the clusterSimpleMap<SolrCollection>collections(boolean includeAlias)collections in the cluster and aliasesSimpleMap<CollectionConfig>configs()Config sets in the clusterSimpleMap<SolrNode>nodes()nodes in the clusterStringoverseerNode()Name of the node in which the overseer is runningStringthisNode()The name of the node in which this method is invoked from.
 
- 
- 
- 
Method Detail- 
collectionsSimpleMap<SolrCollection> collections() throws SolrException collections in the cluster- Throws:
- SolrException
 
 - 
collectionsSimpleMap<SolrCollection> collections(boolean includeAlias) throws SolrException collections in the cluster and aliases- Throws:
- SolrException
 
 - 
nodesSimpleMap<SolrNode> nodes() throws SolrException nodes in the cluster- Throws:
- SolrException
 
 - 
configsSimpleMap<CollectionConfig> configs() throws SolrException Config sets in the cluster- Throws:
- SolrException
 
 - 
overseerNodeString overseerNode() throws SolrException Name of the node in which the overseer is running- Throws:
- SolrException
 
 - 
thisNodeString thisNode() The name of the node in which this method is invoked from. returns null, if this is not invoked from a Solr node
 
- 
 
-