You are here

public function SolrCloudConnectorInterface::getClusterStatus in Search API Solr 4.x

Gets information about the cluster status of a Solr Collection.

Parameters

string|null $collection: Collection.

Return value

ClusterState|null A response object with system information.

Throws

\Drupal\search_api_solr\SearchApiSolrException

1 method overrides SolrCloudConnectorInterface::getClusterStatus()
StandardSolrCloudConnector::getClusterStatus in src/Plugin/SolrConnector/StandardSolrCloudConnector.php
Gets information about the cluster status of a Solr Collection.

File

src/SolrCloudConnectorInterface.php, line 91

Class

SolrCloudConnectorInterface
The Solr Cloud connector interface.

Namespace

Drupal\search_api_solr

Code

public function getClusterStatus(?string $collection = NULL) : ?ClusterState;