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