Zookeeper::getState

Get the state of the zookeeper connection.

Beschreibung

public int Zookeeper::getState ( void )

Rückgabewerte

Returns the state of zookeeper connection on success, and false on failure.

Fehler/Exceptions

This method emits PHP error/warning when it fails to get state of zookeeper connection.

Siehe auch

  • Zookeeper::__construct
  • Zookeeper::connect
  • Zookeeper::getClientId
  • ZooKeeper States