# ZooKeeper

- Introducción
- Instalación/Configuración
  - Requerimientos
  - Instalación
  - Configuración en tiempo de ejecución
  - Tipos de recursos
- Constantes predefinidas
- ZooKeeper Funciones
  - zookeeper_dispatch — Calls callbacks for pending operations
- Zookeeper — La clase Zookeeper
  - Zookeeper::addAuth — Specify application credentials
  - Zookeeper::close — Close the zookeeper handle and free up any resources
  - Zookeeper::connect — Create a handle to used communicate with zookeeper
  - Zookeeper::__construct — Create a handle to used communicate with zookeeper
  - Zookeeper::create — Create a node synchronously
  - Zookeeper::delete — Delete a node in zookeeper synchronously
  - Zookeeper::exists — Checks the existence of a node in zookeeper synchronously
  - Zookeeper::get — Gets the data associated with a node synchronously
  - Zookeeper::getAcl — Gets the acl associated with a node synchronously
  - Zookeeper::getChildren — Lists the children of a node synchronously
  - Zookeeper::getClientId — Return the client session id, only valid if the connections is currently connected (ie. last watcher state is ZOO_CONNECTED_STATE)
  - Zookeeper::getConfig — Get instance of ZookeeperConfig
  - Zookeeper::getRecvTimeout — Return the timeout for this session, only valid if the connections is currently connected (ie. last watcher state is ZOO_CONNECTED_STATE). This value may change after a server re-connect
  - Zookeeper::getState — Get the state of the zookeeper connection
  - Zookeeper::isRecoverable — Checks if the current zookeeper connection state can be recovered
  - Zookeeper::set — Sets the data associated with a node
  - Zookeeper::setAcl — Sets the acl associated with a node synchronously
  - Zookeeper::setDebugLevel — Sets the debugging level for the library
  - Zookeeper::setDeterministicConnOrder — Enable/disable quorum endpoint order randomization
  - Zookeeper::setLogStream — Sets the stream to be used by the library for logging
  - Zookeeper::setWatcher — Set a watcher function
- ZookeeperConfig — La clase ZookeeperConfig
  - ZookeeperConfig::add — Add servers to the ensemble
  - ZookeeperConfig::get — Gets the last committed configuration of the ZooKeeper cluster as it is known to the server to which the client is connected, synchronously
  - ZookeeperConfig::remove — Remove servers from the ensemble
  - ZookeeperConfig::set — Change ZK cluster ensemble membership and roles of ensemble peers
- ZookeeperException — La clase ZookeeperException
- ZookeeperAuthenticationException — La clase ZookeeperAuthenticationException
- ZookeeperConnectionException — La clase ZookeeperConnectionException
- ZookeeperMarshallingException — La clase ZookeeperMarshallingException
- ZookeeperNoNodeException — La clase ZookeeperNoNodeException
- ZookeeperOperationTimeoutException — La clase ZookeeperOperationTimeoutException
- ZookeeperSessionException — La clase ZookeeperSessionException