Elastica\Cluster\Health::getRelocatingShards PHP Метод

getRelocatingShards() публичный Метод

Gets the number of relocating shards.
public getRelocatingShards ( ) : integer
Результат integer
    public function getRelocatingShards()
    {
        return $this->_data['relocating_shards'];
    }

Usage Example

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