|
Zookeeper::existsChecks the existence of a node in zookeeper synchronously. Description
public
bool Zookeeper::exists
( string
$path
[, callable $watcher_cb = null
] )Parameters
Return ValuesReturns true/false on success, and false on failure. Errors/ExceptionsThis method emits PHP error/warning when parameters count or types are wrong or fail to check the existence of a node. ExamplesExample #1 Zookeeper::exists example Check the existence of a node.
<?php The above example will output: EXISTS See Also
|