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 cubrid 函数 return the cubrid server versionphp ibm db2 函数 returns the last connection error message and sqlcode valuephp eio 函数 change file last access and modification timesphp inotify 函数 return a number upper than zero if there are pending eventsphp maxdb 函数 returns the error code from last connect callphp maxdb 函数 returns a string description of the last connect errorphp mysql xdevapi 函数 connect to a mysql serverphp runkit 函数 determines if the current functions return value will be usedphp svn 函数 return true if everything is ok false otherwisephp iteratoriterator checks if the iterator is validphp mongoid check if a value is a valid objectidphp mysqli returns the error code from last connect callphp mysqli returns a string description of the last connect errorphp quickhashinthash this method updates an entry in the hash with a new value or adds a new one if the entry doesn t existphp solrquery specifies the number of results to return for each group. the server default value is 1php swoole server get all of the established connections.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 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
关注编程学问公众号