Elastica\Cluster\Health::getRelocatingShards PHP Méthode

getRelocatingShards() public méthode

Gets the number of relocating shards.
public getRelocatingShards ( ) : integer
Résultat integer
    public function getRelocatingShards()
    {
        return $this->_data['relocating_shards'];
    }

Usage Example

Exemple #1
0
 /**
  * @group unit
  */
 public function testGetRelocatingShards()
 {
     $this->assertEquals(2, $this->_health->getRelocatingShards());
 }