$_client
$_client : \Elastica\Client
Client.
Cluster information for elasticsearch.
$_client : \Elastica\Client
Client.
$_response : \Elastica\Response
Cluster state response.
__construct(\Elastica\Client $client)
Creates a cluster object.
\Elastica\Client | $client | Connection client object |
getResponse() : \Elastica\Response
Returns the response object.
Response object
getNodes() : array<mixed,\Elastica\Node>
Returns all nodes of the cluster.
getClient() : \Elastica\Client
Returns the client object.
Client object
getHealth() : \Elastica\Cluster\Health
Return Cluster health.
getSettings() : \Elastica\Cluster\Settings
Return Cluster settings.
shutdown(string $delay = '1s') : \Elastica\Response
Shuts down the complete cluster.
string | $delay | OPTIONAL Seconds to shutdown cluster after (default = 1s) |