Property | Type | Description | |
---|---|---|---|
$_client | Client. | ||
$_data | array | Cluster state data. | |
$_response | Cluster state response. |
Method | Description | |
---|---|---|
__construct ( |
Creates a cluster object. | |
getClient ( ) : |
Returns the client object. | |
getHealth ( ) : |
Return Cluster health. | |
getIndexNames ( ) : array | Return list of index names. | |
getInfo ( array $args ) | Returns the cluster information (not implemented yet). | |
getNodeNames ( ) : array | Returns a list of existing node names. | |
getNodes ( ) : |
Returns all nodes of the cluster. | |
getResponse ( ) : |
Returns the response object. | |
getSettings ( ) : |
Return Cluster settings. | |
getState ( ) : array | Returns the full state of the cluster. | |
refresh ( ) | Refreshes all cluster information (state). |
public __construct ( |
||
$client | Connection client object |
public getClient ( ) : |
||
return | Client object |
public getHealth ( ) : |
||
return |
public getIndexNames ( ) : array | ||
return | array | List of index names |
public getNodeNames ( ) : array | ||
return | array | List of node names |
public getNodes ( ) : |
||
return |
public getResponse ( ) : |
||
return | Response object |
public getSettings ( ) : |
||
return |