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 deque removes and returns the last valuephp set returns the last value in the setphp cubrid mysql 兼容性函数 return the numerical value of the error message from previous cubrid operationphp ingres 函数 get the return value from a procedure callphp mcve 函数 set certificate key files and certificates if server requires client certificate verificationphp runkit 函数 determines if the current functions return value will be usedphp intlchar return unicode character by code point valuephp intlchar return unicode code point value of characterphp mongoid check if a value is a valid objectidphp mysqlnduhconnection pings a server connection or tries to reconnect if the connection has gone downphp quickhashintstringhash this method updates an entry in the hash with a new value or adds a new one if the entry doesn t existphp solrclient checks if solr server is still upphp solrquery returns if a field will only be highlighted if the query matched in this particular fieldphp solrquery specifies the number of results to return for each group. the server default value is 1php swoole http client check if the http connection is connected.php yaf session the valid purposephp 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
关注编程学问公众号