|
Zookeeper::existsChecks the existence of a node in zookeeper synchronously. Beschreibung
public
bool Zookeeper::exists
( string
$path
[, callable $watcher_cb = null
] )Parameter-Liste
RückgabewerteReturns true/false on success, and false on failure. Fehler/ExceptionsThis method emits PHP error/warning when parameters count or types are wrong or fail to check the existence of a node. BeispieleBeispiel #1 Zookeeper::exists example Check the existence of a node.
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: EXISTS Siehe auch
|