|
Zookeeper::getGets the data associated with a node synchronously. Beschreibung
public
string Zookeeper::get
( string
$path
[, callable $watcher_cb = null
[, array &$stat = null
[, int $max_size = 0
]]] )Parameter-Liste
RückgabewerteReturns the data on success, and false on failure. Fehler/ExceptionsThis method emits PHP error/warning when parameters count or types are wrong or fail to get value from node. BeispieleBeispiel #1 Zookeeper::get example Get value from node.
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: nodevalue Siehe auch
|