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 mysql 兼容性函数 return the value of a specific field in a specific rowphp 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 snmp 函数 return all values that are enums with their enum value instead of the raw integerphp sybase 函数 returns the last message from the serverphp uopz 函数 provide a return value for an existing functionphp wincache 函数 adds a variable in user cache only if variable does not already exist in the cachephp intliterator check if current position is validphp mongocursor sets whether this cursor will be left open after fetching the last resultsphp mongodb driver manager return the servers to which this manager is connectedphp mongoid check if a value is a valid objectidphp solrclient checks if solr server is still upphp solrquery specifies the number of results to return for each group. the server default value is 1php swoole mysql connect to the remote mysql server.php 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
关注编程学问公众号