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 sequence returns the last valuephp set returns the last value in the setphp ldap 函数 return the ldap error message of the last ldap commandphp runkit 函数 determines if the current functions return value will be usedphp ssh2 函数 connect to an ssh serverphp stomp 函数 returns a string description of the last connect errorphp gearmanworker get last gearman return codephp 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 quickhashintstringhash this method updates an entry in the hash with a new value or adds a new one if the entry doesn t existphp reflectionfunctionabstract checks if the function has a specified return typephp 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 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
关注编程学问公众号