Example usage for Java org.apache.solr.common.cloud ClusterState fields, constructors, methods, implement or subclass
The text is from its open source code.
DocCollection | getCollection(String collection) Get the named DocCollection object, or throw an exception if it doesn't exist. |
DocCollection | getCollectionOrNull(String collectionName) Returns the corresponding DocCollection object for the given collection name if such a collection exists. |
Map | getCollectionsMap() Get a map of collection name vs DocCollection objects Implementation note: This method resolves the collection reference by calling CollectionRef#get() which can make a call to ZooKeeper. |
Set | getLiveNodes() Get names of the currently live nodes. |
boolean | hasCollection(String collectionName) Returns true if the specified collection name exists, false otherwise. |
boolean | liveNodesContain(String name) Check if node is alive. |