Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 14968

php-manual-en-7.2.11-1.mga7.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Checks if the current zookeeper connection state can be recovered</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="zookeeper.getstate.html">Zookeeper::getState</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="zookeeper.set.html">Zookeeper::set</a></div>
 <div class="up"><a href="class.zookeeper.html">Zookeeper</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="zookeeper.isrecoverable" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Zookeeper::isRecoverable</h1>
  <p class="verinfo">(PECL zookeeper &gt;= 0.1.0)</p><p class="refpurpose"><span class="refname">Zookeeper::isRecoverable</span> &mdash; <span class="dc-title">Checks if the current zookeeper connection state can be recovered</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-zookeeper.isrecoverable-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span>
   <span class="type">bool</span> <span class="methodname"><strong>Zookeeper::isRecoverable</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
   The application must close the handle and try to reconnect.
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-zookeeper.isrecoverable-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns true/false on success, and false on failure.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-zookeeper.isrecoverable-errors">
  <h3 class="title">Errors/Exceptions</h3>
  <p class="para">
   This method emits PHP error/warning when operation fails.
  </p>
  <div class="caution"><strong class="caution">Caution</strong>
    <p class="para">
      Since version 0.3.0, this method emits <strong class="classname">ZookeeperException</strong> and it&#039;s derivatives.
    </p>
  </div>
 </div>


 <div class="refsect1 seealso" id="refsect1-zookeeper.isrecoverable-seealso">
  <h3 class="title">See Also</h3>
  <ul class="simplelist">
   <li class="member"><span class="methodname"><a href="zookeeper.construct.html" class="methodname" rel="rdfs-seeAlso">Zookeeper::__construct()</a> - Create a handle to used communicate with zookeeper</span></li>
   <li class="member"><span class="methodname"><a href="zookeeper.connect.html" class="methodname" rel="rdfs-seeAlso">Zookeeper::connect()</a> - Create a handle to used communicate with zookeeper</span></li>
   <li class="member"><span class="methodname"><a href="zookeeper.getclientid.html" class="methodname" rel="rdfs-seeAlso">Zookeeper::getClientId()</a> - Return the client session id, only valid if the connections is currently connected (ie. last watcher state is ZOO_CONNECTED_STATE)</span></li>
   <li class="member"><a href="class.zookeeper.html#zookeeper.class.constants.states" class="link">ZooKeeper States</a></li>
   <li class="member"><strong class="classname">ZookeeperException</strong></li>
  </ul>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="zookeeper.getstate.html">Zookeeper::getState</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="zookeeper.set.html">Zookeeper::set</a></div>
 <div class="up"><a href="class.zookeeper.html">Zookeeper</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>