Property | Type | Description | |
---|---|---|---|
$_client | Client object. | ||
$_data | The cluster health data. |
Method | Description | |
---|---|---|
__construct ( |
||
getActivePrimaryShards ( ) : integer | Gets the number of active primary shards. | |
getActiveShards ( ) : integer | Gets the number of active shards. | |
getClusterName ( ) : string | Gets the name of the cluster. | |
getData ( ) : array | Gets the health data. | |
getIndices ( ) : |
Gets the status of the indices. | |
getInitializingShards ( ) : integer | Gets the number of initializing shards. | |
getNumberOfDataNodes ( ) : integer | Gets the number of data nodes in the cluster. | |
getNumberOfNodes ( ) : integer | Gets the number of nodes in the cluster. | |
getRelocatingShards ( ) : integer | Gets the number of relocating shards. | |
getStatus ( ) : string | Gets the status of the cluster. | |
getTimedOut ( ) : boolean | TODO determine the purpose of this. | |
getUnassignedShards ( ) : integer | Gets the number of unassigned shards. | |
refresh ( ) | Refreshes the health data for the cluster. |
Method | Description | |
---|---|---|
_retrieveHealthData ( ) : array | Retrieves the health data from the cluster. |
public __construct ( |
||
$client | The Elastica client. |
protected _retrieveHealthData ( ) : array | ||
return | array |
public getActivePrimaryShards ( ) : integer | ||
return | integer |
public getActiveShards ( ) : integer | ||
return | integer |
public getClusterName ( ) : string | ||
return | string |
public getIndices ( ) : |
||
return |
public getInitializingShards ( ) : integer | ||
return | integer |
public getNumberOfDataNodes ( ) : integer | ||
return | integer |
public getNumberOfNodes ( ) : integer | ||
return | integer |
public getRelocatingShards ( ) : integer | ||
return | integer |
public getTimedOut ( ) : boolean | ||
return | boolean |
public getUnassignedShards ( ) : integer | ||
return | integer |