Свойство | Тип | Описание | |
---|---|---|---|
$_data | The index health data. | ||
$_name | The name of the index. |
Метод | Описание | |
---|---|---|
__construct ( string $name, array $data ) | ||
getActivePrimaryShards ( ) : integer | Gets the number of active primary shards. | |
getActiveShards ( ) : integer | Gets the number of active shards. | |
getInitializingShards ( ) : integer | Gets the number of initializing shards. | |
getName ( ) : string | Gets the name of the index. | |
getNumberOfReplicas ( ) : integer | Gets the number of data nodes in the index. | |
getNumberOfShards ( ) : integer | Gets the number of nodes in the index. | |
getRelocatingShards ( ) : integer | Gets the number of relocating shards. | |
getShards ( ) : Elastica\Cluster\Health\Shard[] | Gets the health of the shards in this index. | |
getStatus ( ) : string | Gets the status of the index. | |
getUnassignedShards ( ) : integer | Gets the number of unassigned shards. |
public __construct ( string $name, array $data ) | ||
$name | string | The name of the index. |
$data | array | The index health data. |
public getActivePrimaryShards ( ) : integer | ||
Результат | integer |
public getActiveShards ( ) : integer | ||
Результат | integer |
public getInitializingShards ( ) : integer | ||
Результат | integer |
public getNumberOfReplicas ( ) : integer | ||
Результат | integer |
public getNumberOfShards ( ) : integer | ||
Результат | integer |
public getRelocatingShards ( ) : integer | ||
Результат | integer |
public getShards ( ) : Elastica\Cluster\Health\Shard[] | ||
Результат | Elastica\Cluster\Health\Shard[] |
public getUnassignedShards ( ) : integer | ||
Результат | integer |