Java org.apache.solr.common.cloud ClusterState fields, constructors, methods, implement or subclass

Example usage for Java org.apache.solr.common.cloud ClusterState fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.solr.common.cloud ClusterState.

The text is from its open source code.

Method

DocCollectiongetCollection(String collection)
Get the named DocCollection object, or throw an exception if it doesn't exist.
DocCollectiongetCollectionOrNull(String collectionName)
Returns the corresponding DocCollection object for the given collection name if such a collection exists.
MapgetCollectionsMap()
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.
SetgetLiveNodes()
Get names of the currently live nodes.
booleanhasCollection(String collectionName)
Returns true if the specified collection name exists, false otherwise.
booleanliveNodesContain(String name)
Check if node is alive.