getActiveShards() public method

Gets the number of active shards.
public getActiveShards ( ) : integer
return integer
コード例 #1
0
ファイル: HealthTest.php プロジェクト: bungkoko/Elastica
 /**
  * @group unit
  */
 public function testGetActiveShards()
 {
     $this->assertEquals(4, $this->_health->getActiveShards());
 }