Package org.apache.solr.cluster.api
Interface SolrCluster
-
public interface SolrCluster
Represents a Solr cluster
-
-
Method Summary
All 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 clusterString
overseerNode()
Name of the node in which the overseer is runningString
thisNode()
The name of the node in which this method is invoked from.
-
-
-
Method Detail
-
collections
SimpleMap<SolrCollection> collections() throws SolrException
collections in the cluster- Throws:
SolrException
-
collections
SimpleMap<SolrCollection> collections(boolean includeAlias) throws SolrException
collections in the cluster and aliases- Throws:
SolrException
-
nodes
SimpleMap<SolrNode> nodes() throws SolrException
nodes in the cluster- Throws:
SolrException
-
configs
SimpleMap<CollectionConfig> configs() throws SolrException
Config sets in the cluster- Throws:
SolrException
-
overseerNode
String overseerNode() throws SolrException
Name of the node in which the overseer is running- Throws:
SolrException
-
thisNode
String thisNode()
The name of the node in which this method is invoked from. returns null, if this is not invoked from a Solr node
-
-