getActivePrimaryShards() public method

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