PHP » GoLang |
login |
register |
about
|
GoLang Zookeeper::setDeterministicConnOrder
request it (308)
GoLang replacement for PHP's Zookeeper::setDeterministicConnOrder
[edit | history]
PHP Zookeeper::setDeterministicConnOrderPHP original manual for Zookeeper::setDeterministicConnOrder [ show | php.net ]Zookeeper::setDeterministicConnOrder(PECL zookeeper >= 0.1.0) Zookeeper::setDeterministicConnOrder — Enable/disable quorum endpoint order randomization Description
public
static
bool Zookeeper::setDeterministicConnOrder
( bool
$yesOrNo
)If passed a non-zero value, will make the client connect to quorum peers in the order as specified in the zookeeper_init() call. A zero value causes zookeeper_init() to permute the peer endpoints which is good for more even client connection distribution among the quorum peers. Parameters
Return Values
Returns Errors/ExceptionsThis method emits PHP error/warning when parameters count or types are wrong or operation fails. Caution
Since version 0.3.0, this method emits ZookeeperException and it's derivatives. NotesCaution
Note: typically this method should NOT be used outside of testing.
Warning
This function is not (yet) binary safe!
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|