MongoDB\Driver\Server::isArbiter

(mongodb >=1.0.0)

MongoDB\Driver\Server::isArbiterChecks if this server is an arbiter member of a replica set

说明

final public MongoDB\Driver\Server::isArbiter ( void ) : bool

Returns whether this server is an » arbiter member of a replica set.

参数

此函数没有参数。

返回值

Returns TRUE if this server is an arbiter member of a replica set, and FALSE otherwise.

错误/异常

参见

相关文章
php mongodb driver the mongodb driver server classphp mcve 函数 set certificate key files and certificates if server requires client certificate verificationphp mongodb driver cursor returns the server associated with this cursorphp mongodb driver cursor checks if the cursor may have additional resultsphp mongodb driver manager select a server matching a read preferencephp mongodb driver monitoring commandstartedevent returns the server on which the command was executedphp mongodb driver readconcern checks if this is the default read concernphp mongodb driver server create a new server not used php mongodb driver server execute one or more write operations on this serverphp mongodb driver server execute a database command on this serverphp mongodb driver server returns the port on which this server is listeningphp mongodb driver server returns an array of tags describing this server in a replica setphp mongodb driver server returns an integer denoting the type of this serverphp mongodb driver server checks if this server is an arbiter member of a replica setphp mongodb driver server checks if this server is a hidden member of a replica setphp mongodb driver server checks if this server is a passive member of a replica setphp mongodb driver server checks if this server is a primary member of a replica setphp mongodb driver server checks if this server is a secondary member of a replica setphp mongodb driver writeconcern checks if this is the default write concernphp solrclient checks if solr server is still up
关注编程学问公众号