Zookeeper::getRecvTimeout

(PECL zookeeper >= 0.1.0)

Zookeeper::getRecvTimeoutReturn 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

说明

public Zookeeper::getRecvTimeout ( void ) : int

返回值

Returns the timeout for this session on success, and false on failure.

错误/异常

This method emits PHP error/warning when operation fails.

Caution

Since version 0.3.0, this method emits ZookeeperException and it's derivatives.

参见

相关文章
php informix 函数 sets the default return value on a fetch rowphp maxdb 函数 pings a server connection or tries to reconnect if the connection has gone downphp newt 函数 tells newt to return the terminal to its initial statephp runkit 函数 determines if the current functions return value will be usedphp session pgsql 函数 get custom field valuephp svn 函数 return true if props are different false otherwisephp uopz 函数 gets a previous set return value for a functionphp mongocursor sets a server side timeout for this queryphp mongodb driver server checks if this server is a primary member of a replica setphp mongodb driver server checks if this server is a secondary member of a replica setphp mongoid check if a value is a valid objectidphp mysql xdevapi session get server versionphp solrquery specifies the number of results to return for each group. the server default value is 1php splheap tells if the heap is in a corrupted statephp swoole table check current if the current row is valid.php zookeeper return the client session id only valid if the connections is currently connected ie. last watcher state is zoo connected state php zookeeper 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 connectphp zookeeper get the state of the zookeeper connectionphp zookeeper checks if the current zookeeper connection state can be recoveredphp zookeeperconfig gets the last committed configuration of the zookeeper cluster as it is known to the server to which the client is connected synchronously
关注编程学问公众号