getActiveShards() public method

Gets the number of active shards.
public getActiveShards ( ) : integer
return integer
Example #1
0
 /**
  * @group unit
  */
 public function testGetActiveShards()
 {
     $this->assertEquals(4, $this->_health->getActiveShards());
 }