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 vector removes and returns the last valuephp cubrid 函数 return the id generated for the last updated auto increment columnphp 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 a string description of the last connect errorphp msession 函数 get value from sessionphp runkit 函数 determines if the current functions return value will be usedphp svn 函数 return true if content is different false otherwisephp intlchar find unicode character by name and return its code point valuephp mongoid check if a value is a valid objectidphp 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 swoole websocket server check if the the file description is existed.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
关注编程学问公众号