setUnacknowledgedWriteConcern() public méthode

Define unacknowledged write concern on whole requests
public setUnacknowledgedWriteConcern ( integer $timeout = 10000 ) : Client
$timeout integer timeout in milliseconds
Résultat Client
Exemple #1
0
 public function testSetUnacknowledgedWriteConcern()
 {
     $this->client->setUnacknowledgedWriteConcern(11000);
     $this->assertEquals(array('w' => 0, 'wtimeout' => 11000), $this->client->getWriteConcern());
 }