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 fdf 函数 return error code for last fdf operationphp ldap 函数 connect to an ldap serverphp msession 函数 set value in sessionphp msession 函数 set/get session timeoutphp runkit 函数 determines if the current functions return value will be usedphp session pgsql 函数 increments error counts and sets last error messagephp uopz 函数 unsets a previously set return value for a functionphp gearmanjob get last return codephp memcached increment numeric item s value stored on a specific serverphp mongodb driver server checks if this server is a hidden member of a replica setphp mongoid check if a value is a valid objectidphp solrquery specifies the number of results to return for each group. the server default value is 1php splobjectstorage returns if the current iterator entry is validphp swoole connection iterator check if current position is valid.php swoole server trigger a callback function after a period of time.php xmlreader indicates if the parsed document is validphp 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
关注编程学问公众号