Elastica\Cluster\Health::getUnassignedShards PHP 메소드

getUnassignedShards() 공개 메소드

Gets the number of unassigned shards.
public getUnassignedShards ( ) : integer
리턴 integer
    public function getUnassignedShards()
    {
        return $this->_data['unassigned_shards'];
    }

Usage Example

예제 #1
0
 /**
  * @group unit
  */
 public function testGetUnassignedShards()
 {
     $this->assertEquals(5, $this->_health->getUnassignedShards());
 }