1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
<?xml version="1.0" encoding="UTF-8" ?>
<class xmlns="http://xml.phpdox.net/src" full="ZookeeperConfig" namespace="" name="ZookeeperConfig">
<method name="add" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Add servers to the ensemble"/>
<return type="void"/>
</docblock>
<parameter name="members" optional="false" byreference="false" type="string"/>
<parameter name="version" optional="true" byreference="false" type="int"/>
<parameter name="stat" optional="true" byreference="false" type="object" class="array"/>
</method>
<method name="get" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Gets the last committed configuration of the ZooKeeper cluster as it is known to the server to which the client is connected, synchronously"/>
<return type="string"/>
</docblock>
<parameter name="watcher_cb" optional="true" byreference="false" type="object" class="callable"/>
<parameter name="stat" optional="true" byreference="false" type="object" class="array"/>
</method>
<method name="remove" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Remove servers from the ensemble"/>
<return type="void"/>
</docblock>
<parameter name="id_list" optional="false" byreference="false" type="string"/>
<parameter name="version" optional="true" byreference="false" type="int"/>
<parameter name="stat" optional="true" byreference="false" type="object" class="array"/>
</method>
<method name="set" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Change ZK cluster ensemble membership and roles of ensemble peers"/>
<return type="void"/>
</docblock>
<parameter name="members" optional="false" byreference="false" type="string"/>
<parameter name="version" optional="true" byreference="false" type="int"/>
<parameter name="stat" optional="true" byreference="false" type="object" class="array"/>
</method>
</class>
|