summaryrefslogtreecommitdiff
path: root/_released_docs/r3.8.1/apidocs/zookeeper-server/org/apache/zookeeper/server/quorum/QuorumPeer.html
diff options
context:
space:
mode:
Diffstat (limited to '_released_docs/r3.8.1/apidocs/zookeeper-server/org/apache/zookeeper/server/quorum/QuorumPeer.html')
-rw-r--r--_released_docs/r3.8.1/apidocs/zookeeper-server/org/apache/zookeeper/server/quorum/QuorumPeer.html3046
1 files changed, 3046 insertions, 0 deletions
diff --git a/_released_docs/r3.8.1/apidocs/zookeeper-server/org/apache/zookeeper/server/quorum/QuorumPeer.html b/_released_docs/r3.8.1/apidocs/zookeeper-server/org/apache/zookeeper/server/quorum/QuorumPeer.html
new file mode 100644
index 000000000..b256d69ed
--- /dev/null
+++ b/_released_docs/r3.8.1/apidocs/zookeeper-server/org/apache/zookeeper/server/quorum/QuorumPeer.html
@@ -0,0 +1,3046 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (1.8.0_352) on Wed Jan 25 17:31:45 CET 2023 -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>QuorumPeer (Apache ZooKeeper - Server 3.8.1 API)</title>
+<meta name="date" content="2023-01-25">
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
+<script type="text/javascript" src="../../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="QuorumPeer (Apache ZooKeeper - Server 3.8.1 API)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods = {"i0":10,"i1":10,"i2":10,"i3":9,"i4":10,"i5":10,"i6":9,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":10,"i101":10,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10,"i107":10,"i108":10,"i109":10,"i110":10,"i111":10,"i112":10,"i113":10,"i114":10,"i115":10,"i116":10,"i117":10,"i118":9,"i119":10,"i120":10};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/QuorumPeer.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumMXBean.html" title="interface in org.apache.zookeeper.server.quorum"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.AddressTuple.html" title="class in org.apache.zookeeper.server.quorum"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../index.html?org/apache/zookeeper/server/quorum/QuorumPeer.html" target="_top">Frames</a></li>
+<li><a href="QuorumPeer.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
+<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.zookeeper.server.quorum</div>
+<h2 title="Class QuorumPeer" class="title">Class QuorumPeer</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true" title="class or interface in java.lang">java.lang.Thread</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../../org/apache/zookeeper/server/ZooKeeperThread.html" title="class in org.apache.zookeeper.server">org.apache.zookeeper.server.ZooKeeperThread</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.zookeeper.server.quorum.QuorumPeer</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</a>, <a href="../../../../../org/apache/zookeeper/server/quorum/QuorumStats.Provider.html" title="interface in org.apache.zookeeper.server.quorum">QuorumStats.Provider</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <span class="typeNameLabel">QuorumPeer</span>
+extends <a href="../../../../../org/apache/zookeeper/server/ZooKeeperThread.html" title="class in org.apache.zookeeper.server">ZooKeeperThread</a>
+implements <a href="../../../../../org/apache/zookeeper/server/quorum/QuorumStats.Provider.html" title="interface in org.apache.zookeeper.server.quorum">QuorumStats.Provider</a></pre>
+<div class="block">This class manages the quorum protocol. There are three states this server
+ can be in:
+ <ol>
+ <li>Leader election - each server will elect a leader (proposing itself as a
+ leader initially).</li>
+ <li>Follower - the server will synchronize with the leader and replicate any
+ transactions.</li>
+ <li>Leader - the server will process requests and forward them to followers.
+ A majority of followers must log the request before it can be accepted.
+ </ol>
+
+ This class will setup a datagram socket that will always respond with its
+ view of the current leader. The response will take the form of:
+
+ <pre>
+ int xid;
+
+ long myid;
+
+ long leader_id;
+
+ long leader_zxid;
+ </pre>
+
+ The request for the current leader will consist solely of an xid: int xid;</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="nested.class.summary">
+<!-- -->
+</a>
+<h3>Nested Class Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
+<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Class and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static class&nbsp;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.AddressTuple.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer.AddressTuple</a></span></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static class&nbsp;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.LearnerType.html" title="enum in org.apache.zookeeper.server.quorum">QuorumPeer.LearnerType</a></span></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static class&nbsp;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.QuorumServer.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer.QuorumServer</a></span></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static class&nbsp;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.ServerState.html" title="enum in org.apache.zookeeper.server.quorum">QuorumPeer.ServerState</a></span></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static class&nbsp;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.SyncMode.html" title="enum in org.apache.zookeeper.server.quorum">QuorumPeer.SyncMode</a></span></code>
+<div class="block">(Used for monitoring) When peer is in synchronization phase, this shows
+ which synchronization mechanism is being used</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static class&nbsp;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.ZabState.html" title="enum in org.apache.zookeeper.server.quorum">QuorumPeer.ZabState</a></span></code>
+<div class="block">(Used for monitoring) shows the current phase of
+ Zab protocol that peer is running.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="nested.classes.inherited.from.class.java.lang.Thread">
+<!-- -->
+</a>
+<h3>Nested classes/interfaces inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true" title="class or interface in java.lang">Thread</a></h3>
+<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.State.html?is-external=true" title="class or interface in java.lang">Thread.State</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.UncaughtExceptionHandler.html?is-external=true" title="class or interface in java.lang">Thread.UncaughtExceptionHandler</a></code></li>
+</ul>
+</li>
+</ul>
+<!-- =========== FIELD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field.summary">
+<!-- -->
+</a>
+<h3>Field Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
+<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Field and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#ACCEPTED_EPOCH_FILENAME">ACCEPTED_EPOCH_FILENAME</a></span></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#clientPortListenBacklog">clientPortListenBacklog</a></span></code>
+<div class="block">The ZooKeeper server's socket backlog length.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#CONFIG_DEFAULT_KERBEROS_CANONICALIZE_HOST_NAMES">CONFIG_DEFAULT_KERBEROS_CANONICALIZE_HOST_NAMES</a></span></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#CONFIG_DEFAULT_MULTI_ADDRESS_ENABLED">CONFIG_DEFAULT_MULTI_ADDRESS_ENABLED</a></span></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#CONFIG_KEY_KERBEROS_CANONICALIZE_HOST_NAMES">CONFIG_KEY_KERBEROS_CANONICALIZE_HOST_NAMES</a></span></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#CONFIG_KEY_MULTI_ADDRESS_ENABLED">CONFIG_KEY_MULTI_ADDRESS_ENABLED</a></span></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#CONFIG_KEY_MULTI_ADDRESS_REACHABILITY_CHECK_ENABLED">CONFIG_KEY_MULTI_ADDRESS_REACHABILITY_CHECK_ENABLED</a></span></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#CONFIG_KEY_MULTI_ADDRESS_REACHABILITY_CHECK_TIMEOUT_MS">CONFIG_KEY_MULTI_ADDRESS_REACHABILITY_CHECK_TIMEOUT_MS</a></span></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#connectToLearnerMasterLimit">connectToLearnerMasterLimit</a></span></code>
+<div class="block">The number of ticks that can pass before retrying to connect to learner master</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#CURRENT_EPOCH_FILENAME">CURRENT_EPOCH_FILENAME</a></span></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#end_fle">end_fle</a></span></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#FLE_TIME_UNIT">FLE_TIME_UNIT</a></span></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/zookeeper/server/quorum/Follower.html" title="class in org.apache.zookeeper.server.quorum">Follower</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#follower">follower</a></span></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#initLimit">initLimit</a></span></code>
+<div class="block">The number of ticks that the initial synchronization phase can take</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/zookeeper/server/quorum/Leader.html" title="class in org.apache.zookeeper.server.quorum">Leader</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#leader">leader</a></span></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#localSessionsEnabled">localSessionsEnabled</a></span></code>
+<div class="block">Whether learners in this quorum should create new sessions as local.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#localSessionsUpgradingEnabled">localSessionsUpgradingEnabled</a></span></code>
+<div class="block">Whether learners in this quorum should upgrade local sessions to
+ global.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#maxSessionTimeout">maxSessionTimeout</a></span></code>
+<div class="block">Maximum number of milliseconds to allow for session timeout.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#minSessionTimeout">minSessionTimeout</a></span></code>
+<div class="block">Minimum number of milliseconds to allow for session timeout.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/zookeeper/server/quorum/Observer.html" title="class in org.apache.zookeeper.server.quorum">Observer</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#observer">observer</a></span></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#QUORUM_CNXN_TIMEOUT_MS">QUORUM_CNXN_TIMEOUT_MS</a></span></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#quorumCnxnThreadsSize">quorumCnxnThreadsSize</a></span></code>
+<div class="block">The maximum number of threads to allow in the connectionExecutors thread
+ pool which will be used to initiate quorum server connections.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#quorumLearnerLoginContext">quorumLearnerLoginContext</a></span></code>
+<div class="block">Quorum learner login context name in jaas-conf file to read the kerberos
+ security details.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#quorumLearnerSaslAuthRequired">quorumLearnerSaslAuthRequired</a></span></code>
+<div class="block">If this is false, quorum peer learner will talk to quorum peer server
+ without authentication.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#quorumListenOnAllIPs">quorumListenOnAllIPs</a></span></code>
+<div class="block">Whether or not to listen on all IPs for the two quorum ports
+ (broadcast and fast leader election).</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#quorumSaslEnableAuth">quorumSaslEnableAuth</a></span></code>
+<div class="block">Enable/Disables quorum authentication using sasl.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#quorumServerLoginContext">quorumServerLoginContext</a></span></code>
+<div class="block">Quorum server login context name in jaas-conf file to read the kerberos
+ security details.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#quorumServerSaslAuthRequired">quorumServerSaslAuthRequired</a></span></code>
+<div class="block">If this is false, quorum peer server will accept another quorum peer client
+ connection even if the authentication did not succeed.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#quorumServicePrincipal">quorumServicePrincipal</a></span></code>
+<div class="block">Kerberos quorum service principal.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#start_fle">start_fle</a></span></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#SYNC_ENABLED">SYNC_ENABLED</a></span></code>
+<div class="block">The syncEnabled can also be set via a system property.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#syncEnabled">syncEnabled</a></span></code>
+<div class="block">Enables/Disables sync request processor.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#syncLimit">syncLimit</a></span></code>
+<div class="block">The number of ticks that can pass between sending a request and getting
+ an acknowledgment</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicInteger.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicInteger</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#tick">tick</a></span></code>
+<div class="block">The current tick</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#tickTime">tickTime</a></span></code>
+<div class="block">The number of milliseconds of each tick</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="fields.inherited.from.class.java.lang.Thread">
+<!-- -->
+</a>
+<h3>Fields inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true" title="class or interface in java.lang">Thread</a></h3>
+<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#MAX_PRIORITY" title="class or interface in java.lang">MAX_PRIORITY</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#MIN_PRIORITY" title="class or interface in java.lang">MIN_PRIORITY</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#NORM_PRIORITY" title="class or interface in java.lang">NORM_PRIORITY</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="fields.inherited.from.class.org.apache.zookeeper.server.quorum.QuorumStats.Provider">
+<!-- -->
+</a>
+<h3>Fields inherited from interface&nbsp;org.apache.zookeeper.server.quorum.<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumStats.Provider.html" title="interface in org.apache.zookeeper.server.quorum">QuorumStats.Provider</a></h3>
+<code><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumStats.Provider.html#FOLLOWING_STATE">FOLLOWING_STATE</a>, <a href="../../../../../org/apache/zookeeper/server/quorum/QuorumStats.Provider.html#LEADING_STATE">LEADING_STATE</a>, <a href="../../../../../org/apache/zookeeper/server/quorum/QuorumStats.Provider.html#LOOKING_STATE">LOOKING_STATE</a>, <a href="../../../../../org/apache/zookeeper/server/quorum/QuorumStats.Provider.html#OBSERVING_STATE">OBSERVING_STATE</a>, <a href="../../../../../org/apache/zookeeper/server/quorum/QuorumStats.Provider.html#UNKNOWN_STATE">UNKNOWN_STATE</a></code></li>
+</ul>
+</li>
+</ul>
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!-- -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#QuorumPeer--">QuorumPeer</a></span>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#QuorumPeer-java.util.Map-java.io.File-java.io.File-int-int-long-int-int-int-int-">QuorumPeer</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.QuorumServer.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer.QuorumServer</a>&gt;&nbsp;quorumPeers,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;snapDir,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;logDir,
+ int&nbsp;clientPort,
+ int&nbsp;electionAlg,
+ long&nbsp;myid,
+ int&nbsp;tickTime,
+ int&nbsp;initLimit,
+ int&nbsp;syncLimit,
+ int&nbsp;connectToLearnerMasterLimit)</code>
+<div class="block">This constructor is only used by the existing unit test code.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#QuorumPeer-java.util.Map-java.io.File-java.io.File-int-int-long-int-int-int-int-org.apache.zookeeper.server.quorum.flexible.QuorumVerifier-">QuorumPeer</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.QuorumServer.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer.QuorumServer</a>&gt;&nbsp;quorumPeers,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;snapDir,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;logDir,
+ int&nbsp;clientPort,
+ int&nbsp;electionAlg,
+ long&nbsp;myid,
+ int&nbsp;tickTime,
+ int&nbsp;initLimit,
+ int&nbsp;syncLimit,
+ int&nbsp;connectToLearnerMasterLimit,
+ <a href="../../../../../org/apache/zookeeper/server/quorum/flexible/QuorumVerifier.html" title="interface in org.apache.zookeeper.server.quorum.flexible">QuorumVerifier</a>&nbsp;quorumConfig)</code>
+<div class="block">This constructor is only used by the existing unit test code.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#QuorumPeer-java.util.Map-java.io.File-java.io.File-int-int-long-int-int-int-int-java.lang.String-">QuorumPeer</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.QuorumServer.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer.QuorumServer</a>&gt;&nbsp;quorumPeers,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;snapDir,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;logDir,
+ int&nbsp;clientPort,
+ int&nbsp;electionAlg,
+ long&nbsp;myid,
+ int&nbsp;tickTime,
+ int&nbsp;initLimit,
+ int&nbsp;syncLimit,
+ int&nbsp;connectToLearnerMasterLimit,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;oraclePath)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#QuorumPeer-java.util.Map-java.io.File-java.io.File-int-long-int-int-int-int-boolean-org.apache.zookeeper.server.ServerCnxnFactory-org.apache.zookeeper.server.quorum.flexible.QuorumVerifier-">QuorumPeer</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.QuorumServer.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer.QuorumServer</a>&gt;&nbsp;quorumPeers,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;dataDir,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;dataLogDir,
+ int&nbsp;electionType,
+ long&nbsp;myid,
+ int&nbsp;tickTime,
+ int&nbsp;initLimit,
+ int&nbsp;syncLimit,
+ int&nbsp;connectToLearnerMasterLimit,
+ boolean&nbsp;quorumListenOnAllIPs,
+ <a href="../../../../../org/apache/zookeeper/server/ServerCnxnFactory.html" title="class in org.apache.zookeeper.server">ServerCnxnFactory</a>&nbsp;cnxnFactory,
+ <a href="../../../../../org/apache/zookeeper/server/quorum/flexible/QuorumVerifier.html" title="interface in org.apache.zookeeper.server.quorum.flexible">QuorumVerifier</a>&nbsp;quorumConfig)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#QuorumPeer-java.util.Map-java.io.File-java.io.File-int-long-int-int-int-int-org.apache.zookeeper.server.ServerCnxnFactory-">QuorumPeer</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.QuorumServer.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer.QuorumServer</a>&gt;&nbsp;quorumPeers,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;dataDir,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;dataLogDir,
+ int&nbsp;electionType,
+ long&nbsp;myid,
+ int&nbsp;tickTime,
+ int&nbsp;initLimit,
+ int&nbsp;syncLimit,
+ int&nbsp;connectToLearnerMasterLimit,
+ <a href="../../../../../org/apache/zookeeper/server/ServerCnxnFactory.html" title="class in org.apache.zookeeper.server">ServerCnxnFactory</a>&nbsp;cnxnFactory)</code>
+<div class="block">For backward compatibility purposes, we instantiate QuorumMaj by default.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#areLocalSessionsEnabled--">areLocalSessionsEnabled</a></span>()</code>
+<div class="block">Whether local sessions are enabled</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#closeAllConnections--">closeAllConnections</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/zookeeper/server/quorum/flexible/QuorumVerifier.html" title="interface in org.apache.zookeeper.server.quorum.flexible">QuorumVerifier</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#configFromString-java.lang.String-">configFromString</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>&nbsp;</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code>protected static int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#countParticipants-java.util.Map-">countParticipants</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.QuorumServer.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer.QuorumServer</a>&gt;&nbsp;peers)</code>
+<div class="block">Count the number of nodes in the map that could be followers.</div>
+</td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumCnxManager.html" title="class in org.apache.zookeeper.server.quorum">QuorumCnxManager</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#createCnxnManager--">createCnxnManager</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i5" class="rowColor">
+<td class="colFirst"><code>protected <a href="../../../../../org/apache/zookeeper/server/quorum/Election.html" title="interface in org.apache.zookeeper.server.quorum">Election</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#createElectionAlgorithm-int-">createElectionAlgorithm</a></span>(int&nbsp;electionAlgorithm)</code>&nbsp;</td>
+</tr>
+<tr id="i6" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#createFromConfig-org.apache.zookeeper.server.quorum.QuorumPeerConfig-">createFromConfig</a></span>(<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeerConfig.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeerConfig</a>&nbsp;config)</code>
+<div class="block">Create a new QuorumPeer and apply all the values per the already-parsed config.</div>
+</td>
+</tr>
+<tr id="i7" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#enableLocalSessions-boolean-">enableLocalSessions</a></span>(boolean&nbsp;flag)</code>
+<div class="block">Whether to enable local sessions</div>
+</td>
+</tr>
+<tr id="i8" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#enableLocalSessionsUpgrading-boolean-">enableLocalSessionsUpgrading</a></span>(boolean&nbsp;flag)</code>
+<div class="block">Whether to allow local sessions to upgrade to global sessions</div>
+</td>
+</tr>
+<tr id="i9" class="rowColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getAcceptedEpoch--">getAcceptedEpoch</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i10" class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/zookeeper/server/ZooKeeperServer.html" title="class in org.apache.zookeeper.server">ZooKeeperServer</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getActiveServer--">getActiveServer</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i11" class="rowColor">
+<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getClientAddress--">getClientAddress</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i12" class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getClientPort--">getClientPort</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i13" class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getClientPortListenBacklog--">getClientPortListenBacklog</a></span>()</code>
+<div class="block">The server socket's listen backlog length</div>
+</td>
+</tr>
+<tr id="i14" class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getConnectToLearnerMasterLimit--">getConnectToLearnerMasterLimit</a></span>()</code>
+<div class="block">Get the connectToLearnerMasterLimit</div>
+</td>
+</tr>
+<tr id="i15" class="rowColor">
+<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getCurrentAndNextConfigVoters--">getCurrentAndNextConfigVoters</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i16" class="altColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getCurrentEpoch--">getCurrentEpoch</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i17" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/zookeeper/server/quorum/Vote.html" title="class in org.apache.zookeeper.server.quorum">Vote</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getCurrentVote--">getCurrentVote</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i18" class="altColor">
+<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getDetailedPeerState--">getDetailedPeerState</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i19" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/zookeeper/server/quorum/MultipleAddresses.html" title="class in org.apache.zookeeper.server.quorum">MultipleAddresses</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getElectionAddress--">getElectionAddress</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i20" class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/zookeeper/server/quorum/Election.html" title="interface in org.apache.zookeeper.server.quorum">Election</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getElectionAlg--">getElectionAlg</a></span>()</code>
+<div class="block">Get an instance of LeaderElection</div>
+</td>
+</tr>
+<tr id="i21" class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getElectionType--">getElectionType</a></span>()</code>
+<div class="block">Gets the election type</div>
+</td>
+</tr>
+<tr id="i22" class="altColor">
+<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getInitialConfig--">getInitialConfig</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i23" class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getInitLimit--">getInitLimit</a></span>()</code>
+<div class="block">Get the number of ticks that the initial synchronization phase can take</div>
+</td>
+</tr>
+<tr id="i24" class="altColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getLastLoggedZxid--">getLastLoggedZxid</a></span>()</code>
+<div class="block">returns the highest zxid that this host has seen</div>
+</td>
+</tr>
+<tr id="i25" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/zookeeper/server/quorum/flexible/QuorumVerifier.html" title="interface in org.apache.zookeeper.server.quorum.flexible">QuorumVerifier</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getLastSeenQuorumVerifier--">getLastSeenQuorumVerifier</a></span>()</code>
+<div class="block">Return QuorumVerifier object for the last proposed configuration.</div>
+</td>
+</tr>
+<tr id="i26" class="altColor">
+<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getLeaderAddress--">getLeaderAddress</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i27" class="rowColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getLeaderId--">getLeaderId</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i28" class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.LearnerType.html" title="enum in org.apache.zookeeper.server.quorum">QuorumPeer.LearnerType</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getLearnerType--">getLearnerType</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i29" class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getMaxClientCnxnsPerHost--">getMaxClientCnxnsPerHost</a></span>()</code>
+<div class="block">Maximum number of connections allowed from particular host (ip)</div>
+</td>
+</tr>
+<tr id="i30" class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getMaxSessionTimeout--">getMaxSessionTimeout</a></span>()</code>
+<div class="block">maximum session timeout in milliseconds</div>
+</td>
+</tr>
+<tr id="i31" class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getMinSessionTimeout--">getMinSessionTimeout</a></span>()</code>
+<div class="block">minimum session timeout in milliseconds</div>
+</td>
+</tr>
+<tr id="i32" class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getMultiAddressReachabilityCheckTimeoutMs--">getMultiAddressReachabilityCheckTimeoutMs</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i33" class="rowColor">
+<td class="colFirst"><code>long</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getMyId--">getMyId</a></span>()</code>
+<div class="block">get the id of this quorum peer.</div>
+</td>
+</tr>
+<tr id="i34" class="altColor">
+<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getNextDynamicConfigFilename--">getNextDynamicConfigFilename</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i35" class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getObserverMasterPort--">getObserverMasterPort</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i36" class="altColor">
+<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.QuorumServer.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer.QuorumServer</a>&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getObservingView--">getObservingView</a></span>()</code>
+<div class="block">Returns only observers, no followers.</div>
+</td>
+</tr>
+<tr id="i37" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.ServerState.html" title="enum in org.apache.zookeeper.server.quorum">QuorumPeer.ServerState</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getPeerState--">getPeerState</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i38" class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/zookeeper/server/quorum/MultipleAddresses.html" title="class in org.apache.zookeeper.server.quorum">MultipleAddresses</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getQuorumAddress--">getQuorumAddress</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i39" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumCnxManager.html" title="class in org.apache.zookeeper.server.quorum">QuorumCnxManager</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getQuorumCnxManager--">getQuorumCnxManager</a></span>()</code>
+<div class="block">get reference to QuorumCnxManager</div>
+</td>
+</tr>
+<tr id="i40" class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getQuorumListenOnAllIPs--">getQuorumListenOnAllIPs</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i41" class="rowColor">
+<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getQuorumPeers--">getQuorumPeers</a></span>()</code>
+<div class="block">Only used by QuorumStats at the moment</div>
+</td>
+</tr>
+<tr id="i42" class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getQuorumSize--">getQuorumSize</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i43" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/zookeeper/server/quorum/flexible/QuorumVerifier.html" title="interface in org.apache.zookeeper.server.quorum.flexible">QuorumVerifier</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getQuorumVerifier--">getQuorumVerifier</a></span>()</code>
+<div class="block">Return QuorumVerifier object for the last committed configuration.</div>
+</td>
+</tr>
+<tr id="i44" class="altColor">
+<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getServerState--">getServerState</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i45" class="rowColor">
+<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getSynced_observers_metric--">getSynced_observers_metric</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i46" class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getSyncEnabled--">getSyncEnabled</a></span>()</code>
+<div class="block">Return syncEnabled.</div>
+</td>
+</tr>
+<tr id="i47" class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getSyncLimit--">getSyncLimit</a></span>()</code>
+<div class="block">Get the synclimit</div>
+</td>
+</tr>
+<tr id="i48" class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.SyncMode.html" title="enum in org.apache.zookeeper.server.quorum">QuorumPeer.SyncMode</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getSyncMode--">getSyncMode</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i49" class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getTick--">getTick</a></span>()</code>
+<div class="block">Get the current tick</div>
+</td>
+</tr>
+<tr id="i50" class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getTickTime--">getTickTime</a></span>()</code>
+<div class="block">Get the number of milliseconds of each tick</div>
+</td>
+</tr>
+<tr id="i51" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/zookeeper/server/persistence/FileTxnSnapLog.html" title="class in org.apache.zookeeper.server.persistence">FileTxnSnapLog</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getTxnFactory--">getTxnFactory</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i52" class="altColor">
+<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.QuorumServer.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer.QuorumServer</a>&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getView--">getView</a></span>()</code>
+<div class="block">A 'view' is a node's current opinion of the membership of the entire
+ ensemble.</div>
+</td>
+</tr>
+<tr id="i53" class="rowColor">
+<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.QuorumServer.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer.QuorumServer</a>&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getVotingView--">getVotingView</a></span>()</code>
+<div class="block">Observers are not contained in this view, only nodes with
+ PeerType=PARTICIPANT.</div>
+</td>
+</tr>
+<tr id="i54" class="altColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.ZabState.html" title="enum in org.apache.zookeeper.server.quorum">QuorumPeer.ZabState</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getZabState--">getZabState</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i55" class="rowColor">
+<td class="colFirst"><code>protected <a href="../../../../../org/apache/zookeeper/server/ZKDatabase.html" title="class in org.apache.zookeeper.server">ZKDatabase</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#getZkDb--">getZkDb</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i56" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#initConfigInZKDatabase--">initConfigInZKDatabase</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i57" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#initialize--">initialize</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i58" class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#isLocalSessionsUpgradingEnabled--">isLocalSessionsUpgradingEnabled</a></span>()</code>
+<div class="block">Whether local sessions are allowed to upgrade to global sessions</div>
+</td>
+</tr>
+<tr id="i59" class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#isMultiAddressEnabled--">isMultiAddressEnabled</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i60" class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#isMultiAddressReachabilityCheckEnabled--">isMultiAddressReachabilityCheckEnabled</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i61" class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#isReconfigEnabled--">isReconfigEnabled</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i62" class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#isReconfigStateChange--">isReconfigStateChange</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i63" class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#isRunning--">isRunning</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i64" class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#isSslQuorum--">isSslQuorum</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i65" class="rowColor">
+<td class="colFirst"><code>protected <a href="../../../../../org/apache/zookeeper/server/quorum/Follower.html" title="class in org.apache.zookeeper.server.quorum">Follower</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#makeFollower-org.apache.zookeeper.server.persistence.FileTxnSnapLog-">makeFollower</a></span>(<a href="../../../../../org/apache/zookeeper/server/persistence/FileTxnSnapLog.html" title="class in org.apache.zookeeper.server.persistence">FileTxnSnapLog</a>&nbsp;logFactory)</code>&nbsp;</td>
+</tr>
+<tr id="i66" class="altColor">
+<td class="colFirst"><code>protected <a href="../../../../../org/apache/zookeeper/server/quorum/Leader.html" title="class in org.apache.zookeeper.server.quorum">Leader</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#makeLeader-org.apache.zookeeper.server.persistence.FileTxnSnapLog-">makeLeader</a></span>(<a href="../../../../../org/apache/zookeeper/server/persistence/FileTxnSnapLog.html" title="class in org.apache.zookeeper.server.persistence">FileTxnSnapLog</a>&nbsp;logFactory)</code>&nbsp;</td>
+</tr>
+<tr id="i67" class="rowColor">
+<td class="colFirst"><code>protected <a href="../../../../../org/apache/zookeeper/server/quorum/Election.html" title="interface in org.apache.zookeeper.server.quorum">Election</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#makeLEStrategy--">makeLEStrategy</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i68" class="altColor">
+<td class="colFirst"><code>protected <a href="../../../../../org/apache/zookeeper/server/quorum/Observer.html" title="class in org.apache.zookeeper.server.quorum">Observer</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#makeObserver-org.apache.zookeeper.server.persistence.FileTxnSnapLog-">makeObserver</a></span>(<a href="../../../../../org/apache/zookeeper/server/persistence/FileTxnSnapLog.html" title="class in org.apache.zookeeper.server.persistence">FileTxnSnapLog</a>&nbsp;logFactory)</code>&nbsp;</td>
+</tr>
+<tr id="i69" class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#processReconfig-org.apache.zookeeper.server.quorum.flexible.QuorumVerifier-java.lang.Long-java.lang.Long-boolean-">processReconfig</a></span>(<a href="../../../../../org/apache/zookeeper/server/quorum/flexible/QuorumVerifier.html" title="interface in org.apache.zookeeper.server.quorum.flexible">QuorumVerifier</a>&nbsp;qv,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&nbsp;suggestedLeaderId,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&nbsp;zxid,
+ boolean&nbsp;restartLE)</code>&nbsp;</td>
+</tr>
+<tr id="i70" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#reconfigFlagClear--">reconfigFlagClear</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i71" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#reconfigFlagSet--">reconfigFlagSet</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i72" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#recreateSocketAddresses-long-">recreateSocketAddresses</a></span>(long&nbsp;id)</code>
+<div class="block">Resolves hostname for a given server ID.</div>
+</td>
+</tr>
+<tr id="i73" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#restartLeaderElection-org.apache.zookeeper.server.quorum.flexible.QuorumVerifier-org.apache.zookeeper.server.quorum.flexible.QuorumVerifier-">restartLeaderElection</a></span>(<a href="../../../../../org/apache/zookeeper/server/quorum/flexible/QuorumVerifier.html" title="interface in org.apache.zookeeper.server.quorum.flexible">QuorumVerifier</a>&nbsp;qvOLD,
+ <a href="../../../../../org/apache/zookeeper/server/quorum/flexible/QuorumVerifier.html" title="interface in org.apache.zookeeper.server.quorum.flexible">QuorumVerifier</a>&nbsp;qvNEW)</code>&nbsp;</td>
+</tr>
+<tr id="i74" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#run--">run</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i75" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setAcceptedEpoch-long-">setAcceptedEpoch</a></span>(long&nbsp;e)</code>&nbsp;</td>
+</tr>
+<tr id="i76" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setClientPortListenBacklog-int-">setClientPortListenBacklog</a></span>(int&nbsp;backlog)</code>
+<div class="block">Sets the server socket's listen backlog length.</div>
+</td>
+</tr>
+<tr id="i77" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setCnxnFactory-org.apache.zookeeper.server.ServerCnxnFactory-">setCnxnFactory</a></span>(<a href="../../../../../org/apache/zookeeper/server/ServerCnxnFactory.html" title="class in org.apache.zookeeper.server">ServerCnxnFactory</a>&nbsp;cnxnFactory)</code>&nbsp;</td>
+</tr>
+<tr id="i78" class="altColor">
+<td class="colFirst"><code>protected void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setConfigFileName-java.lang.String-">setConfigFileName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</code>&nbsp;</td>
+</tr>
+<tr id="i79" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setConnectToLearnerMasterLimit-int-">setConnectToLearnerMasterLimit</a></span>(int&nbsp;connectToLearnerMasterLimit)</code>
+<div class="block">Set the connectToLearnerMasterLimit</div>
+</td>
+</tr>
+<tr id="i80" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setCurrentEpoch-long-">setCurrentEpoch</a></span>(long&nbsp;e)</code>&nbsp;</td>
+</tr>
+<tr id="i81" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setCurrentVote-org.apache.zookeeper.server.quorum.Vote-">setCurrentVote</a></span>(<a href="../../../../../org/apache/zookeeper/server/quorum/Vote.html" title="class in org.apache.zookeeper.server.quorum">Vote</a>&nbsp;v)</code>&nbsp;</td>
+</tr>
+<tr id="i82" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setElectionType-int-">setElectionType</a></span>(int&nbsp;electionType)</code>
+<div class="block">Sets the election type</div>
+</td>
+</tr>
+<tr id="i83" class="rowColor">
+<td class="colFirst"><code>protected void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setFollower-org.apache.zookeeper.server.quorum.Follower-">setFollower</a></span>(<a href="../../../../../org/apache/zookeeper/server/quorum/Follower.html" title="class in org.apache.zookeeper.server.quorum">Follower</a>&nbsp;newFollower)</code>&nbsp;</td>
+</tr>
+<tr id="i84" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setInitialConfig-java.lang.String-">setInitialConfig</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;initialConfig)</code>&nbsp;</td>
+</tr>
+<tr id="i85" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setInitLimit-int-">setInitLimit</a></span>(int&nbsp;initLimit)</code>
+<div class="block">Set the number of ticks that the initial synchronization phase can take</div>
+</td>
+</tr>
+<tr id="i86" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setJvmPauseMonitor-org.apache.zookeeper.server.util.JvmPauseMonitor-">setJvmPauseMonitor</a></span>(<a href="../../../../../org/apache/zookeeper/server/util/JvmPauseMonitor.html" title="class in org.apache.zookeeper.server.util">JvmPauseMonitor</a>&nbsp;jvmPauseMonitor)</code>&nbsp;</td>
+</tr>
+<tr id="i87" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setLastSeenQuorumVerifier-org.apache.zookeeper.server.quorum.flexible.QuorumVerifier-boolean-">setLastSeenQuorumVerifier</a></span>(<a href="../../../../../org/apache/zookeeper/server/quorum/flexible/QuorumVerifier.html" title="interface in org.apache.zookeeper.server.quorum.flexible">QuorumVerifier</a>&nbsp;qv,
+ boolean&nbsp;writeToDisk)</code>&nbsp;</td>
+</tr>
+<tr id="i88" class="altColor">
+<td class="colFirst"><code>protected void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setLeader-org.apache.zookeeper.server.quorum.Leader-">setLeader</a></span>(<a href="../../../../../org/apache/zookeeper/server/quorum/Leader.html" title="class in org.apache.zookeeper.server.quorum">Leader</a>&nbsp;newLeader)</code>&nbsp;</td>
+</tr>
+<tr id="i89" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setLeaderAddressAndId-org.apache.zookeeper.server.quorum.MultipleAddresses-long-">setLeaderAddressAndId</a></span>(<a href="../../../../../org/apache/zookeeper/server/quorum/MultipleAddresses.html" title="class in org.apache.zookeeper.server.quorum">MultipleAddresses</a>&nbsp;addr,
+ long&nbsp;newId)</code>&nbsp;</td>
+</tr>
+<tr id="i90" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setLearnerType-org.apache.zookeeper.server.quorum.QuorumPeer.LearnerType-">setLearnerType</a></span>(<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.LearnerType.html" title="enum in org.apache.zookeeper.server.quorum">QuorumPeer.LearnerType</a>&nbsp;p)</code>
+<div class="block">Sets the LearnerType</div>
+</td>
+</tr>
+<tr id="i91" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setMaxSessionTimeout-int-">setMaxSessionTimeout</a></span>(int&nbsp;max)</code>
+<div class="block">maximum session timeout in milliseconds</div>
+</td>
+</tr>
+<tr id="i92" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setMinSessionTimeout-int-">setMinSessionTimeout</a></span>(int&nbsp;min)</code>
+<div class="block">minimum session timeout in milliseconds</div>
+</td>
+</tr>
+<tr id="i93" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setMultiAddressEnabled-boolean-">setMultiAddressEnabled</a></span>(boolean&nbsp;multiAddressEnabled)</code>&nbsp;</td>
+</tr>
+<tr id="i94" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setMultiAddressReachabilityCheckEnabled-boolean-">setMultiAddressReachabilityCheckEnabled</a></span>(boolean&nbsp;multiAddressReachabilityCheckEnabled)</code>&nbsp;</td>
+</tr>
+<tr id="i95" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setMultiAddressReachabilityCheckTimeoutMs-int-">setMultiAddressReachabilityCheckTimeoutMs</a></span>(int&nbsp;multiAddressReachabilityCheckTimeoutMs)</code>&nbsp;</td>
+</tr>
+<tr id="i96" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setMyid-long-">setMyid</a></span>(long&nbsp;myid)</code>
+<div class="block">set the id of this quorum peer.</div>
+</td>
+</tr>
+<tr id="i97" class="rowColor">
+<td class="colFirst"><code>protected void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setObserver-org.apache.zookeeper.server.quorum.Observer-">setObserver</a></span>(<a href="../../../../../org/apache/zookeeper/server/quorum/Observer.html" title="class in org.apache.zookeeper.server.quorum">Observer</a>&nbsp;newObserver)</code>&nbsp;</td>
+</tr>
+<tr id="i98" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setObserverMasterPort-int-">setObserverMasterPort</a></span>(int&nbsp;observerMasterPort)</code>&nbsp;</td>
+</tr>
+<tr id="i99" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setPeerState-org.apache.zookeeper.server.quorum.QuorumPeer.ServerState-">setPeerState</a></span>(<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.ServerState.html" title="enum in org.apache.zookeeper.server.quorum">QuorumPeer.ServerState</a>&nbsp;newState)</code>&nbsp;</td>
+</tr>
+<tr id="i100" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setQuorumListenOnAllIPs-boolean-">setQuorumListenOnAllIPs</a></span>(boolean&nbsp;quorumListenOnAllIPs)</code>&nbsp;</td>
+</tr>
+<tr id="i101" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../org/apache/zookeeper/server/quorum/flexible/QuorumVerifier.html" title="interface in org.apache.zookeeper.server.quorum.flexible">QuorumVerifier</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setQuorumVerifier-org.apache.zookeeper.server.quorum.flexible.QuorumVerifier-boolean-">setQuorumVerifier</a></span>(<a href="../../../../../org/apache/zookeeper/server/quorum/flexible/QuorumVerifier.html" title="interface in org.apache.zookeeper.server.quorum.flexible">QuorumVerifier</a>&nbsp;qv,
+ boolean&nbsp;writeToDisk)</code>&nbsp;</td>
+</tr>
+<tr id="i102" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setSecureCnxnFactory-org.apache.zookeeper.server.ServerCnxnFactory-">setSecureCnxnFactory</a></span>(<a href="../../../../../org/apache/zookeeper/server/ServerCnxnFactory.html" title="class in org.apache.zookeeper.server">ServerCnxnFactory</a>&nbsp;secureCnxnFactory)</code>&nbsp;</td>
+</tr>
+<tr id="i103" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setSslQuorum-boolean-">setSslQuorum</a></span>(boolean&nbsp;sslQuorum)</code>&nbsp;</td>
+</tr>
+<tr id="i104" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setSyncEnabled-boolean-">setSyncEnabled</a></span>(boolean&nbsp;syncEnabled)</code>
+<div class="block">Set syncEnabled.</div>
+</td>
+</tr>
+<tr id="i105" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setSyncLimit-int-">setSyncLimit</a></span>(int&nbsp;syncLimit)</code>
+<div class="block">Set the synclimit</div>
+</td>
+</tr>
+<tr id="i106" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setSyncMode-org.apache.zookeeper.server.quorum.QuorumPeer.SyncMode-">setSyncMode</a></span>(<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.SyncMode.html" title="enum in org.apache.zookeeper.server.quorum">QuorumPeer.SyncMode</a>&nbsp;syncMode)</code>&nbsp;</td>
+</tr>
+<tr id="i107" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setTickTime-int-">setTickTime</a></span>(int&nbsp;tickTime)</code>
+<div class="block">Set the number of milliseconds of each tick</div>
+</td>
+</tr>
+<tr id="i108" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setTxnFactory-org.apache.zookeeper.server.persistence.FileTxnSnapLog-">setTxnFactory</a></span>(<a href="../../../../../org/apache/zookeeper/server/persistence/FileTxnSnapLog.html" title="class in org.apache.zookeeper.server.persistence">FileTxnSnapLog</a>&nbsp;factory)</code>&nbsp;</td>
+</tr>
+<tr id="i109" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setUsePortUnification-boolean-">setUsePortUnification</a></span>(boolean&nbsp;shouldUsePortUnification)</code>&nbsp;</td>
+</tr>
+<tr id="i110" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setZabState-org.apache.zookeeper.server.quorum.QuorumPeer.ZabState-">setZabState</a></span>(<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.ZabState.html" title="enum in org.apache.zookeeper.server.quorum">QuorumPeer.ZabState</a>&nbsp;zabState)</code>&nbsp;</td>
+</tr>
+<tr id="i111" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setZKDatabase-org.apache.zookeeper.server.ZKDatabase-">setZKDatabase</a></span>(<a href="../../../../../org/apache/zookeeper/server/ZKDatabase.html" title="class in org.apache.zookeeper.server">ZKDatabase</a>&nbsp;database)</code>
+<div class="block">set zk database for this node</div>
+</td>
+</tr>
+<tr id="i112" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#setZooKeeperServer-org.apache.zookeeper.server.ZooKeeperServer-">setZooKeeperServer</a></span>(<a href="../../../../../org/apache/zookeeper/server/ZooKeeperServer.html" title="class in org.apache.zookeeper.server">ZooKeeperServer</a>&nbsp;zks)</code>&nbsp;</td>
+</tr>
+<tr id="i113" class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#shouldUsePortUnification--">shouldUsePortUnification</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i114" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#shutdown--">shutdown</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i115" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#start--">start</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i116" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#startLeaderElection--">startLeaderElection</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i117" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#stopLeaderElection--">stopLeaderElection</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i118" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#testingQuorumPeer--">testingQuorumPeer</a></span>()</code>&nbsp;</td>
+</tr>
+<tr id="i119" class="rowColor">
+<td class="colFirst"><code>protected void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#updateElectionVote-long-">updateElectionVote</a></span>(long&nbsp;newEpoch)</code>
+<div class="block">Updates leader election info to avoid inconsistencies when
+ a new server tries to join the ensemble.</div>
+</td>
+</tr>
+<tr id="i120" class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html#viewContains-java.lang.Long-">viewContains</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&nbsp;sid)</code>
+<div class="block">Check if a node is in the current view.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.zookeeper.server.ZooKeeperThread">
+<!-- -->
+</a>
+<h3>Methods inherited from class&nbsp;org.apache.zookeeper.server.<a href="../../../../../org/apache/zookeeper/server/ZooKeeperThread.html" title="class in org.apache.zookeeper.server">ZooKeeperThread</a></h3>
+<code><a href="../../../../../org/apache/zookeeper/server/ZooKeeperThread.html#handleException-java.lang.String-java.lang.Throwable-">handleException</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Thread">
+<!-- -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true" title="class or interface in java.lang">Thread</a></h3>
+<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#activeCount--" title="class or interface in java.lang">activeCount</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#checkAccess--" title="class or interface in java.lang">checkAccess</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#countStackFrames--" title="class or interface in java.lang">countStackFrames</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#currentThread--" title="class or interface in java.lang">currentThread</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#destroy--" title="class or interface in java.lang">destroy</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#dumpStack--" title="class or interface in java.lang">dumpStack</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#enumerate-java.lang.Thread:A-" title="class or interface in java.lang">enumerate</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#getAllStackTraces--" title="class or interface in java.lang">getAllStackTraces</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#getContextClassLoader--" title="class or interface in java.lang">getContextClassLoader</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#getDefaultUncaughtExceptionHandler--" title="class or interface in java.lang">getDefaultUncaughtExceptionHandler</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#getId--" title="class or interface in java.lang">getId</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#getName--" title="class or interface in java.lang">getName</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#getPriority--" title="class or interface in java.lang">getPriority</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#getStackTrace--" title="class or interface in java.lang">getStackTrace</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#getState--" title="class or interface in java.lang">getState</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#getThreadGroup--" title="class or interface in java.lang">getThreadGroup</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#getUncaughtExceptionHandler--" title="class or interface in java.lang">getUncaughtExceptionHandler</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#holdsLock-java.lang.Object-" title="class or interface in java.lang">holdsLock</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#interrupt--" title="class or interface in java.lang">interrupt</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#interrupted--" title="class or interface in java.lang">interrupted</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#isAlive--" title="class or interface in java.lang">isAlive</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#isDaemon--" title="class or interface in java.lang">isDaemon</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#isInterrupted--" title="class or interface in java.lang">isInterrupted</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#join--" title="class or interface in java.lang">join</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#join-long-" title="class or interface in java.lang">join</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#join-long-int-" title="class or interface in java.lang">join</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#resume--" title="class or interface in java.lang">resume</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#setContextClassLoader-java.lang.ClassLoader-" title="class or interface in java.lang">setContextClassLoader</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#setDaemon-boolean-" title="class or interface in java.lang">setDaemon</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#setDefaultUncaughtExceptionHandler-java.lang.Thread.UncaughtExceptionHandler-" title="class or interface in java.lang">setDefaultUncaughtExceptionHandler</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#setName-java.lang.String-" title="class or interface in java.lang">setName</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#setPriority-int-" title="class or interface in java.lang">setPriority</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#setUncaughtExceptionHandler-java.lang.Thread.UncaughtExceptionHandler-" title="class or interface in java.lang">setUncaughtExceptionHandler</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#sleep-long-" title="class or interface in java.lang">sleep</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#sleep-long-int-" title="class or interface in java.lang">sleep</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#stop--" title="class or interface in java.lang">stop</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#stop-java.lang.Throwable-" title="class or interface in java.lang">stop</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#suspend--" title="class or interface in java.lang">suspend</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#yield--" title="class or interface in java.lang">yield</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ FIELD DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field.detail">
+<!-- -->
+</a>
+<h3>Field Detail</h3>
+<a name="CONFIG_KEY_KERBEROS_CANONICALIZE_HOST_NAMES">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>CONFIG_KEY_KERBEROS_CANONICALIZE_HOST_NAMES</h4>
+<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> CONFIG_KEY_KERBEROS_CANONICALIZE_HOST_NAMES</pre>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../../constant-values.html#org.apache.zookeeper.server.quorum.QuorumPeer.CONFIG_KEY_KERBEROS_CANONICALIZE_HOST_NAMES">Constant Field Values</a></dd>
+</dl>
+</li>
+</ul>
+<a name="CONFIG_DEFAULT_KERBEROS_CANONICALIZE_HOST_NAMES">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>CONFIG_DEFAULT_KERBEROS_CANONICALIZE_HOST_NAMES</h4>
+<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> CONFIG_DEFAULT_KERBEROS_CANONICALIZE_HOST_NAMES</pre>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../../constant-values.html#org.apache.zookeeper.server.quorum.QuorumPeer.CONFIG_DEFAULT_KERBEROS_CANONICALIZE_HOST_NAMES">Constant Field Values</a></dd>
+</dl>
+</li>
+</ul>
+<a name="CONFIG_KEY_MULTI_ADDRESS_ENABLED">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>CONFIG_KEY_MULTI_ADDRESS_ENABLED</h4>
+<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> CONFIG_KEY_MULTI_ADDRESS_ENABLED</pre>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../../constant-values.html#org.apache.zookeeper.server.quorum.QuorumPeer.CONFIG_KEY_MULTI_ADDRESS_ENABLED">Constant Field Values</a></dd>
+</dl>
+</li>
+</ul>
+<a name="CONFIG_DEFAULT_MULTI_ADDRESS_ENABLED">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>CONFIG_DEFAULT_MULTI_ADDRESS_ENABLED</h4>
+<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> CONFIG_DEFAULT_MULTI_ADDRESS_ENABLED</pre>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../../constant-values.html#org.apache.zookeeper.server.quorum.QuorumPeer.CONFIG_DEFAULT_MULTI_ADDRESS_ENABLED">Constant Field Values</a></dd>
+</dl>
+</li>
+</ul>
+<a name="CONFIG_KEY_MULTI_ADDRESS_REACHABILITY_CHECK_TIMEOUT_MS">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>CONFIG_KEY_MULTI_ADDRESS_REACHABILITY_CHECK_TIMEOUT_MS</h4>
+<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> CONFIG_KEY_MULTI_ADDRESS_REACHABILITY_CHECK_TIMEOUT_MS</pre>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../../constant-values.html#org.apache.zookeeper.server.quorum.QuorumPeer.CONFIG_KEY_MULTI_ADDRESS_REACHABILITY_CHECK_TIMEOUT_MS">Constant Field Values</a></dd>
+</dl>
+</li>
+</ul>
+<a name="CONFIG_KEY_MULTI_ADDRESS_REACHABILITY_CHECK_ENABLED">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>CONFIG_KEY_MULTI_ADDRESS_REACHABILITY_CHECK_ENABLED</h4>
+<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> CONFIG_KEY_MULTI_ADDRESS_REACHABILITY_CHECK_ENABLED</pre>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../../constant-values.html#org.apache.zookeeper.server.quorum.QuorumPeer.CONFIG_KEY_MULTI_ADDRESS_REACHABILITY_CHECK_ENABLED">Constant Field Values</a></dd>
+</dl>
+</li>
+</ul>
+<a name="start_fle">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>start_fle</h4>
+<pre>public&nbsp;long start_fle</pre>
+</li>
+</ul>
+<a name="end_fle">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>end_fle</h4>
+<pre>public&nbsp;long end_fle</pre>
+</li>
+</ul>
+<a name="FLE_TIME_UNIT">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>FLE_TIME_UNIT</h4>
+<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> FLE_TIME_UNIT</pre>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../../constant-values.html#org.apache.zookeeper.server.quorum.QuorumPeer.FLE_TIME_UNIT">Constant Field Values</a></dd>
+</dl>
+</li>
+</ul>
+<a name="tickTime">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>tickTime</h4>
+<pre>protected&nbsp;int tickTime</pre>
+<div class="block">The number of milliseconds of each tick</div>
+</li>
+</ul>
+<a name="localSessionsEnabled">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>localSessionsEnabled</h4>
+<pre>protected&nbsp;boolean localSessionsEnabled</pre>
+<div class="block">Whether learners in this quorum should create new sessions as local.
+ False by default to preserve existing behavior.</div>
+</li>
+</ul>
+<a name="localSessionsUpgradingEnabled">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>localSessionsUpgradingEnabled</h4>
+<pre>protected&nbsp;boolean localSessionsUpgradingEnabled</pre>
+<div class="block">Whether learners in this quorum should upgrade local sessions to
+ global. Only matters if local sessions are enabled.</div>
+</li>
+</ul>
+<a name="minSessionTimeout">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>minSessionTimeout</h4>
+<pre>protected&nbsp;int minSessionTimeout</pre>
+<div class="block">Minimum number of milliseconds to allow for session timeout.
+ A value of -1 indicates unset, use default.</div>
+</li>
+</ul>
+<a name="maxSessionTimeout">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>maxSessionTimeout</h4>
+<pre>protected&nbsp;int maxSessionTimeout</pre>
+<div class="block">Maximum number of milliseconds to allow for session timeout.
+ A value of -1 indicates unset, use default.</div>
+</li>
+</ul>
+<a name="clientPortListenBacklog">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>clientPortListenBacklog</h4>
+<pre>protected&nbsp;int clientPortListenBacklog</pre>
+<div class="block">The ZooKeeper server's socket backlog length. The number of connections
+ that will be queued to be read before new connections are dropped. A
+ value of one indicates the default backlog will be used.</div>
+</li>
+</ul>
+<a name="initLimit">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>initLimit</h4>
+<pre>protected volatile&nbsp;int initLimit</pre>
+<div class="block">The number of ticks that the initial synchronization phase can take</div>
+</li>
+</ul>
+<a name="syncLimit">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>syncLimit</h4>
+<pre>protected volatile&nbsp;int syncLimit</pre>
+<div class="block">The number of ticks that can pass between sending a request and getting
+ an acknowledgment</div>
+</li>
+</ul>
+<a name="connectToLearnerMasterLimit">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>connectToLearnerMasterLimit</h4>
+<pre>protected volatile&nbsp;int connectToLearnerMasterLimit</pre>
+<div class="block">The number of ticks that can pass before retrying to connect to learner master</div>
+</li>
+</ul>
+<a name="syncEnabled">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>syncEnabled</h4>
+<pre>protected&nbsp;boolean syncEnabled</pre>
+<div class="block">Enables/Disables sync request processor. This option is enabled
+ by default and is to be used with observers.</div>
+</li>
+</ul>
+<a name="tick">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>tick</h4>
+<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicInteger.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicInteger</a> tick</pre>
+<div class="block">The current tick</div>
+</li>
+</ul>
+<a name="quorumListenOnAllIPs">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>quorumListenOnAllIPs</h4>
+<pre>protected&nbsp;boolean quorumListenOnAllIPs</pre>
+<div class="block">Whether or not to listen on all IPs for the two quorum ports
+ (broadcast and fast leader election).</div>
+</li>
+</ul>
+<a name="quorumSaslEnableAuth">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>quorumSaslEnableAuth</h4>
+<pre>protected&nbsp;boolean quorumSaslEnableAuth</pre>
+<div class="block">Enable/Disables quorum authentication using sasl. Defaulting to false.</div>
+</li>
+</ul>
+<a name="quorumServerSaslAuthRequired">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>quorumServerSaslAuthRequired</h4>
+<pre>protected&nbsp;boolean quorumServerSaslAuthRequired</pre>
+<div class="block">If this is false, quorum peer server will accept another quorum peer client
+ connection even if the authentication did not succeed. This can be used while
+ upgrading ZooKeeper server. Defaulting to false (required).</div>
+</li>
+</ul>
+<a name="quorumLearnerSaslAuthRequired">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>quorumLearnerSaslAuthRequired</h4>
+<pre>protected&nbsp;boolean quorumLearnerSaslAuthRequired</pre>
+<div class="block">If this is false, quorum peer learner will talk to quorum peer server
+ without authentication. This can be used while upgrading ZooKeeper
+ server. Defaulting to false (required).</div>
+</li>
+</ul>
+<a name="quorumServicePrincipal">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>quorumServicePrincipal</h4>
+<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> quorumServicePrincipal</pre>
+<div class="block">Kerberos quorum service principal. Defaulting to 'zkquorum/localhost'.</div>
+</li>
+</ul>
+<a name="quorumLearnerLoginContext">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>quorumLearnerLoginContext</h4>
+<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> quorumLearnerLoginContext</pre>
+<div class="block">Quorum learner login context name in jaas-conf file to read the kerberos
+ security details. Defaulting to 'QuorumLearner'.</div>
+</li>
+</ul>
+<a name="quorumServerLoginContext">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>quorumServerLoginContext</h4>
+<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> quorumServerLoginContext</pre>
+<div class="block">Quorum server login context name in jaas-conf file to read the kerberos
+ security details. Defaulting to 'QuorumServer'.</div>
+</li>
+</ul>
+<a name="quorumCnxnThreadsSize">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>quorumCnxnThreadsSize</h4>
+<pre>protected&nbsp;int quorumCnxnThreadsSize</pre>
+<div class="block">The maximum number of threads to allow in the connectionExecutors thread
+ pool which will be used to initiate quorum server connections.</div>
+</li>
+</ul>
+<a name="QUORUM_CNXN_TIMEOUT_MS">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>QUORUM_CNXN_TIMEOUT_MS</h4>
+<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> QUORUM_CNXN_TIMEOUT_MS</pre>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../../constant-values.html#org.apache.zookeeper.server.quorum.QuorumPeer.QUORUM_CNXN_TIMEOUT_MS">Constant Field Values</a></dd>
+</dl>
+</li>
+</ul>
+<a name="follower">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>follower</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/Follower.html" title="class in org.apache.zookeeper.server.quorum">Follower</a> follower</pre>
+</li>
+</ul>
+<a name="leader">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>leader</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/Leader.html" title="class in org.apache.zookeeper.server.quorum">Leader</a> leader</pre>
+</li>
+</ul>
+<a name="observer">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>observer</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/Observer.html" title="class in org.apache.zookeeper.server.quorum">Observer</a> observer</pre>
+</li>
+</ul>
+<a name="SYNC_ENABLED">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>SYNC_ENABLED</h4>
+<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> SYNC_ENABLED</pre>
+<div class="block">The syncEnabled can also be set via a system property.</div>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../../constant-values.html#org.apache.zookeeper.server.quorum.QuorumPeer.SYNC_ENABLED">Constant Field Values</a></dd>
+</dl>
+</li>
+</ul>
+<a name="CURRENT_EPOCH_FILENAME">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>CURRENT_EPOCH_FILENAME</h4>
+<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> CURRENT_EPOCH_FILENAME</pre>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../../constant-values.html#org.apache.zookeeper.server.quorum.QuorumPeer.CURRENT_EPOCH_FILENAME">Constant Field Values</a></dd>
+</dl>
+</li>
+</ul>
+<a name="ACCEPTED_EPOCH_FILENAME">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>ACCEPTED_EPOCH_FILENAME</h4>
+<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ACCEPTED_EPOCH_FILENAME</pre>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../../constant-values.html#org.apache.zookeeper.server.quorum.QuorumPeer.ACCEPTED_EPOCH_FILENAME">Constant Field Values</a></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!-- -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="QuorumPeer--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>QuorumPeer</h4>
+<pre>public&nbsp;QuorumPeer()
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/javax/security/sasl/SaslException.html?is-external=true" title="class or interface in javax.security.sasl">SaslException</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/javax/security/sasl/SaslException.html?is-external=true" title="class or interface in javax.security.sasl">SaslException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="QuorumPeer-java.util.Map-java.io.File-java.io.File-int-long-int-int-int-int-org.apache.zookeeper.server.ServerCnxnFactory-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>QuorumPeer</h4>
+<pre>public&nbsp;QuorumPeer(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.QuorumServer.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer.QuorumServer</a>&gt;&nbsp;quorumPeers,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;dataDir,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;dataLogDir,
+ int&nbsp;electionType,
+ long&nbsp;myid,
+ int&nbsp;tickTime,
+ int&nbsp;initLimit,
+ int&nbsp;syncLimit,
+ int&nbsp;connectToLearnerMasterLimit,
+ <a href="../../../../../org/apache/zookeeper/server/ServerCnxnFactory.html" title="class in org.apache.zookeeper.server">ServerCnxnFactory</a>&nbsp;cnxnFactory)
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">For backward compatibility purposes, we instantiate QuorumMaj by default.</div>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="QuorumPeer-java.util.Map-java.io.File-java.io.File-int-long-int-int-int-int-boolean-org.apache.zookeeper.server.ServerCnxnFactory-org.apache.zookeeper.server.quorum.flexible.QuorumVerifier-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>QuorumPeer</h4>
+<pre>public&nbsp;QuorumPeer(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.QuorumServer.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer.QuorumServer</a>&gt;&nbsp;quorumPeers,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;dataDir,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;dataLogDir,
+ int&nbsp;electionType,
+ long&nbsp;myid,
+ int&nbsp;tickTime,
+ int&nbsp;initLimit,
+ int&nbsp;syncLimit,
+ int&nbsp;connectToLearnerMasterLimit,
+ boolean&nbsp;quorumListenOnAllIPs,
+ <a href="../../../../../org/apache/zookeeper/server/ServerCnxnFactory.html" title="class in org.apache.zookeeper.server">ServerCnxnFactory</a>&nbsp;cnxnFactory,
+ <a href="../../../../../org/apache/zookeeper/server/quorum/flexible/QuorumVerifier.html" title="interface in org.apache.zookeeper.server.quorum.flexible">QuorumVerifier</a>&nbsp;quorumConfig)
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="QuorumPeer-java.util.Map-java.io.File-java.io.File-int-int-long-int-int-int-int-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>QuorumPeer</h4>
+<pre>public&nbsp;QuorumPeer(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.QuorumServer.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer.QuorumServer</a>&gt;&nbsp;quorumPeers,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;snapDir,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;logDir,
+ int&nbsp;clientPort,
+ int&nbsp;electionAlg,
+ long&nbsp;myid,
+ int&nbsp;tickTime,
+ int&nbsp;initLimit,
+ int&nbsp;syncLimit,
+ int&nbsp;connectToLearnerMasterLimit)
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">This constructor is only used by the existing unit test code.
+ It defaults to FileLogProvider persistence provider.</div>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="QuorumPeer-java.util.Map-java.io.File-java.io.File-int-int-long-int-int-int-int-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>QuorumPeer</h4>
+<pre>public&nbsp;QuorumPeer(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.QuorumServer.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer.QuorumServer</a>&gt;&nbsp;quorumPeers,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;snapDir,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;logDir,
+ int&nbsp;clientPort,
+ int&nbsp;electionAlg,
+ long&nbsp;myid,
+ int&nbsp;tickTime,
+ int&nbsp;initLimit,
+ int&nbsp;syncLimit,
+ int&nbsp;connectToLearnerMasterLimit,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;oraclePath)
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="QuorumPeer-java.util.Map-java.io.File-java.io.File-int-int-long-int-int-int-int-org.apache.zookeeper.server.quorum.flexible.QuorumVerifier-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>QuorumPeer</h4>
+<pre>public&nbsp;QuorumPeer(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.QuorumServer.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer.QuorumServer</a>&gt;&nbsp;quorumPeers,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;snapDir,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;logDir,
+ int&nbsp;clientPort,
+ int&nbsp;electionAlg,
+ long&nbsp;myid,
+ int&nbsp;tickTime,
+ int&nbsp;initLimit,
+ int&nbsp;syncLimit,
+ int&nbsp;connectToLearnerMasterLimit,
+ <a href="../../../../../org/apache/zookeeper/server/quorum/flexible/QuorumVerifier.html" title="interface in org.apache.zookeeper.server.quorum.flexible">QuorumVerifier</a>&nbsp;quorumConfig)
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">This constructor is only used by the existing unit test code.
+ It defaults to FileLogProvider persistence provider.</div>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="getObserverMasterPort--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getObserverMasterPort</h4>
+<pre>public&nbsp;int&nbsp;getObserverMasterPort()</pre>
+</li>
+</ul>
+<a name="setObserverMasterPort-int-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setObserverMasterPort</h4>
+<pre>public&nbsp;void&nbsp;setObserverMasterPort(int&nbsp;observerMasterPort)</pre>
+</li>
+</ul>
+<a name="isMultiAddressEnabled--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isMultiAddressEnabled</h4>
+<pre>public&nbsp;boolean&nbsp;isMultiAddressEnabled()</pre>
+</li>
+</ul>
+<a name="setMultiAddressEnabled-boolean-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setMultiAddressEnabled</h4>
+<pre>public&nbsp;void&nbsp;setMultiAddressEnabled(boolean&nbsp;multiAddressEnabled)</pre>
+</li>
+</ul>
+<a name="getMultiAddressReachabilityCheckTimeoutMs--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getMultiAddressReachabilityCheckTimeoutMs</h4>
+<pre>public&nbsp;int&nbsp;getMultiAddressReachabilityCheckTimeoutMs()</pre>
+</li>
+</ul>
+<a name="setMultiAddressReachabilityCheckTimeoutMs-int-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setMultiAddressReachabilityCheckTimeoutMs</h4>
+<pre>public&nbsp;void&nbsp;setMultiAddressReachabilityCheckTimeoutMs(int&nbsp;multiAddressReachabilityCheckTimeoutMs)</pre>
+</li>
+</ul>
+<a name="isMultiAddressReachabilityCheckEnabled--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isMultiAddressReachabilityCheckEnabled</h4>
+<pre>public&nbsp;boolean&nbsp;isMultiAddressReachabilityCheckEnabled()</pre>
+</li>
+</ul>
+<a name="setMultiAddressReachabilityCheckEnabled-boolean-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setMultiAddressReachabilityCheckEnabled</h4>
+<pre>public&nbsp;void&nbsp;setMultiAddressReachabilityCheckEnabled(boolean&nbsp;multiAddressReachabilityCheckEnabled)</pre>
+</li>
+</ul>
+<a name="getLearnerType--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getLearnerType</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.LearnerType.html" title="enum in org.apache.zookeeper.server.quorum">QuorumPeer.LearnerType</a>&nbsp;getLearnerType()</pre>
+</li>
+</ul>
+<a name="setLearnerType-org.apache.zookeeper.server.quorum.QuorumPeer.LearnerType-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setLearnerType</h4>
+<pre>public&nbsp;void&nbsp;setLearnerType(<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.LearnerType.html" title="enum in org.apache.zookeeper.server.quorum">QuorumPeer.LearnerType</a>&nbsp;p)</pre>
+<div class="block">Sets the LearnerType</div>
+</li>
+</ul>
+<a name="setConfigFileName-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setConfigFileName</h4>
+<pre>protected&nbsp;void&nbsp;setConfigFileName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)</pre>
+</li>
+</ul>
+<a name="getQuorumSize--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getQuorumSize</h4>
+<pre>public&nbsp;int&nbsp;getQuorumSize()</pre>
+</li>
+</ul>
+<a name="setJvmPauseMonitor-org.apache.zookeeper.server.util.JvmPauseMonitor-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setJvmPauseMonitor</h4>
+<pre>public&nbsp;void&nbsp;setJvmPauseMonitor(<a href="../../../../../org/apache/zookeeper/server/util/JvmPauseMonitor.html" title="class in org.apache.zookeeper.server.util">JvmPauseMonitor</a>&nbsp;jvmPauseMonitor)</pre>
+</li>
+</ul>
+<a name="getMyId--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getMyId</h4>
+<pre>public&nbsp;long&nbsp;getMyId()</pre>
+<div class="block">get the id of this quorum peer.</div>
+</li>
+</ul>
+<a name="isSslQuorum--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isSslQuorum</h4>
+<pre>public&nbsp;boolean&nbsp;isSslQuorum()</pre>
+</li>
+</ul>
+<a name="shouldUsePortUnification--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>shouldUsePortUnification</h4>
+<pre>public&nbsp;boolean&nbsp;shouldUsePortUnification()</pre>
+</li>
+</ul>
+<a name="getCurrentVote--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getCurrentVote</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/Vote.html" title="class in org.apache.zookeeper.server.quorum">Vote</a>&nbsp;getCurrentVote()</pre>
+</li>
+</ul>
+<a name="setCurrentVote-org.apache.zookeeper.server.quorum.Vote-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setCurrentVote</h4>
+<pre>public&nbsp;void&nbsp;setCurrentVote(<a href="../../../../../org/apache/zookeeper/server/quorum/Vote.html" title="class in org.apache.zookeeper.server.quorum">Vote</a>&nbsp;v)</pre>
+</li>
+</ul>
+<a name="setPeerState-org.apache.zookeeper.server.quorum.QuorumPeer.ServerState-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setPeerState</h4>
+<pre>public&nbsp;void&nbsp;setPeerState(<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.ServerState.html" title="enum in org.apache.zookeeper.server.quorum">QuorumPeer.ServerState</a>&nbsp;newState)</pre>
+</li>
+</ul>
+<a name="setZabState-org.apache.zookeeper.server.quorum.QuorumPeer.ZabState-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setZabState</h4>
+<pre>public&nbsp;void&nbsp;setZabState(<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.ZabState.html" title="enum in org.apache.zookeeper.server.quorum">QuorumPeer.ZabState</a>&nbsp;zabState)</pre>
+</li>
+</ul>
+<a name="setSyncMode-org.apache.zookeeper.server.quorum.QuorumPeer.SyncMode-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setSyncMode</h4>
+<pre>public&nbsp;void&nbsp;setSyncMode(<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.SyncMode.html" title="enum in org.apache.zookeeper.server.quorum">QuorumPeer.SyncMode</a>&nbsp;syncMode)</pre>
+</li>
+</ul>
+<a name="getZabState--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getZabState</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.ZabState.html" title="enum in org.apache.zookeeper.server.quorum">QuorumPeer.ZabState</a>&nbsp;getZabState()</pre>
+</li>
+</ul>
+<a name="getSyncMode--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getSyncMode</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.SyncMode.html" title="enum in org.apache.zookeeper.server.quorum">QuorumPeer.SyncMode</a>&nbsp;getSyncMode()</pre>
+</li>
+</ul>
+<a name="setLeaderAddressAndId-org.apache.zookeeper.server.quorum.MultipleAddresses-long-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setLeaderAddressAndId</h4>
+<pre>public&nbsp;void&nbsp;setLeaderAddressAndId(<a href="../../../../../org/apache/zookeeper/server/quorum/MultipleAddresses.html" title="class in org.apache.zookeeper.server.quorum">MultipleAddresses</a>&nbsp;addr,
+ long&nbsp;newId)</pre>
+</li>
+</ul>
+<a name="getLeaderAddress--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getLeaderAddress</h4>
+<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getLeaderAddress()</pre>
+</li>
+</ul>
+<a name="getLeaderId--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getLeaderId</h4>
+<pre>public&nbsp;long&nbsp;getLeaderId()</pre>
+</li>
+</ul>
+<a name="getDetailedPeerState--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getDetailedPeerState</h4>
+<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getDetailedPeerState()</pre>
+</li>
+</ul>
+<a name="reconfigFlagSet--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>reconfigFlagSet</h4>
+<pre>public&nbsp;void&nbsp;reconfigFlagSet()</pre>
+</li>
+</ul>
+<a name="reconfigFlagClear--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>reconfigFlagClear</h4>
+<pre>public&nbsp;void&nbsp;reconfigFlagClear()</pre>
+</li>
+</ul>
+<a name="isReconfigStateChange--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isReconfigStateChange</h4>
+<pre>public&nbsp;boolean&nbsp;isReconfigStateChange()</pre>
+</li>
+</ul>
+<a name="getPeerState--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getPeerState</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.ServerState.html" title="enum in org.apache.zookeeper.server.quorum">QuorumPeer.ServerState</a>&nbsp;getPeerState()</pre>
+</li>
+</ul>
+<a name="recreateSocketAddresses-long-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>recreateSocketAddresses</h4>
+<pre>public&nbsp;void&nbsp;recreateSocketAddresses(long&nbsp;id)</pre>
+<div class="block">Resolves hostname for a given server ID.
+
+ This method resolves hostname for a given server ID in both quorumVerifer
+ and lastSeenQuorumVerifier. If the server ID matches the local server ID,
+ it also updates myAddrs.</div>
+</li>
+</ul>
+<a name="getQuorumAddress--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getQuorumAddress</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/MultipleAddresses.html" title="class in org.apache.zookeeper.server.quorum">MultipleAddresses</a>&nbsp;getQuorumAddress()</pre>
+</li>
+</ul>
+<a name="getElectionAddress--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getElectionAddress</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/MultipleAddresses.html" title="class in org.apache.zookeeper.server.quorum">MultipleAddresses</a>&nbsp;getElectionAddress()</pre>
+</li>
+</ul>
+<a name="getClientAddress--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getClientAddress</h4>
+<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html?is-external=true" title="class or interface in java.net">InetSocketAddress</a>&nbsp;getClientAddress()</pre>
+</li>
+</ul>
+<a name="testingQuorumPeer--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>testingQuorumPeer</h4>
+<pre>public static&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer</a>&nbsp;testingQuorumPeer()
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/javax/security/sasl/SaslException.html?is-external=true" title="class or interface in javax.security.sasl">SaslException</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/javax/security/sasl/SaslException.html?is-external=true" title="class or interface in javax.security.sasl">SaslException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="initialize--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>initialize</h4>
+<pre>public&nbsp;void&nbsp;initialize()
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/javax/security/sasl/SaslException.html?is-external=true" title="class or interface in javax.security.sasl">SaslException</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/javax/security/sasl/SaslException.html?is-external=true" title="class or interface in javax.security.sasl">SaslException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="start--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>start</h4>
+<pre>public&nbsp;void&nbsp;start()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#start--" title="class or interface in java.lang">start</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true" title="class or interface in java.lang">Thread</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="stopLeaderElection--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>stopLeaderElection</h4>
+<pre>public&nbsp;void&nbsp;stopLeaderElection()</pre>
+</li>
+</ul>
+<a name="startLeaderElection--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>startLeaderElection</h4>
+<pre>public&nbsp;void&nbsp;startLeaderElection()</pre>
+</li>
+</ul>
+<a name="countParticipants-java.util.Map-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>countParticipants</h4>
+<pre>protected static&nbsp;int&nbsp;countParticipants(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.QuorumServer.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer.QuorumServer</a>&gt;&nbsp;peers)</pre>
+<div class="block">Count the number of nodes in the map that could be followers.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>peers</code> - </dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The number of followers in the map</dd>
+</dl>
+</li>
+</ul>
+<a name="getLastLoggedZxid--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getLastLoggedZxid</h4>
+<pre>public&nbsp;long&nbsp;getLastLoggedZxid()</pre>
+<div class="block">returns the highest zxid that this host has seen</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the highest zxid for this host</dd>
+</dl>
+</li>
+</ul>
+<a name="makeFollower-org.apache.zookeeper.server.persistence.FileTxnSnapLog-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>makeFollower</h4>
+<pre>protected&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/Follower.html" title="class in org.apache.zookeeper.server.quorum">Follower</a>&nbsp;makeFollower(<a href="../../../../../org/apache/zookeeper/server/persistence/FileTxnSnapLog.html" title="class in org.apache.zookeeper.server.persistence">FileTxnSnapLog</a>&nbsp;logFactory)
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="makeLeader-org.apache.zookeeper.server.persistence.FileTxnSnapLog-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>makeLeader</h4>
+<pre>protected&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/Leader.html" title="class in org.apache.zookeeper.server.quorum">Leader</a>&nbsp;makeLeader(<a href="../../../../../org/apache/zookeeper/server/persistence/FileTxnSnapLog.html" title="class in org.apache.zookeeper.server.persistence">FileTxnSnapLog</a>&nbsp;logFactory)
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
+ <a href="../../../../../org/apache/zookeeper/common/X509Exception.html" title="class in org.apache.zookeeper.common">X509Exception</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
+<dd><code><a href="../../../../../org/apache/zookeeper/common/X509Exception.html" title="class in org.apache.zookeeper.common">X509Exception</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="makeObserver-org.apache.zookeeper.server.persistence.FileTxnSnapLog-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>makeObserver</h4>
+<pre>protected&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/Observer.html" title="class in org.apache.zookeeper.server.quorum">Observer</a>&nbsp;makeObserver(<a href="../../../../../org/apache/zookeeper/server/persistence/FileTxnSnapLog.html" title="class in org.apache.zookeeper.server.persistence">FileTxnSnapLog</a>&nbsp;logFactory)
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="createElectionAlgorithm-int-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createElectionAlgorithm</h4>
+<pre>protected&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/Election.html" title="interface in org.apache.zookeeper.server.quorum">Election</a>&nbsp;createElectionAlgorithm(int&nbsp;electionAlgorithm)</pre>
+</li>
+</ul>
+<a name="makeLEStrategy--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>makeLEStrategy</h4>
+<pre>protected&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/Election.html" title="interface in org.apache.zookeeper.server.quorum">Election</a>&nbsp;makeLEStrategy()</pre>
+</li>
+</ul>
+<a name="setLeader-org.apache.zookeeper.server.quorum.Leader-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setLeader</h4>
+<pre>protected&nbsp;void&nbsp;setLeader(<a href="../../../../../org/apache/zookeeper/server/quorum/Leader.html" title="class in org.apache.zookeeper.server.quorum">Leader</a>&nbsp;newLeader)</pre>
+</li>
+</ul>
+<a name="setFollower-org.apache.zookeeper.server.quorum.Follower-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setFollower</h4>
+<pre>protected&nbsp;void&nbsp;setFollower(<a href="../../../../../org/apache/zookeeper/server/quorum/Follower.html" title="class in org.apache.zookeeper.server.quorum">Follower</a>&nbsp;newFollower)</pre>
+</li>
+</ul>
+<a name="setObserver-org.apache.zookeeper.server.quorum.Observer-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setObserver</h4>
+<pre>protected&nbsp;void&nbsp;setObserver(<a href="../../../../../org/apache/zookeeper/server/quorum/Observer.html" title="class in org.apache.zookeeper.server.quorum">Observer</a>&nbsp;newObserver)</pre>
+</li>
+</ul>
+<a name="getActiveServer--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getActiveServer</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/zookeeper/server/ZooKeeperServer.html" title="class in org.apache.zookeeper.server">ZooKeeperServer</a>&nbsp;getActiveServer()</pre>
+</li>
+</ul>
+<a name="run--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>run</h4>
+<pre>public&nbsp;void&nbsp;run()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html?is-external=true#run--" title="class or interface in java.lang">run</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang">Runnable</a></code></dd>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true#run--" title="class or interface in java.lang">run</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html?is-external=true" title="class or interface in java.lang">Thread</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="shutdown--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>shutdown</h4>
+<pre>public&nbsp;void&nbsp;shutdown()</pre>
+</li>
+</ul>
+<a name="getView--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getView</h4>
+<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.QuorumServer.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer.QuorumServer</a>&gt;&nbsp;getView()</pre>
+<div class="block">A 'view' is a node's current opinion of the membership of the entire
+ ensemble.</div>
+</li>
+</ul>
+<a name="getVotingView--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getVotingView</h4>
+<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.QuorumServer.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer.QuorumServer</a>&gt;&nbsp;getVotingView()</pre>
+<div class="block">Observers are not contained in this view, only nodes with
+ PeerType=PARTICIPANT.</div>
+</li>
+</ul>
+<a name="getObservingView--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getObservingView</h4>
+<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.QuorumServer.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer.QuorumServer</a>&gt;&nbsp;getObservingView()</pre>
+<div class="block">Returns only observers, no followers.</div>
+</li>
+</ul>
+<a name="getCurrentAndNextConfigVoters--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getCurrentAndNextConfigVoters</h4>
+<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&gt;&nbsp;getCurrentAndNextConfigVoters()</pre>
+</li>
+</ul>
+<a name="viewContains-java.lang.Long-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>viewContains</h4>
+<pre>public&nbsp;boolean&nbsp;viewContains(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&nbsp;sid)</pre>
+<div class="block">Check if a node is in the current view. With static membership, the
+ result of this check will never change; only when dynamic membership
+ is introduced will this be more useful.</div>
+</li>
+</ul>
+<a name="getQuorumPeers--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getQuorumPeers</h4>
+<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;getQuorumPeers()</pre>
+<div class="block">Only used by QuorumStats at the moment</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumStats.Provider.html#getQuorumPeers--">getQuorumPeers</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumStats.Provider.html" title="interface in org.apache.zookeeper.server.quorum">QuorumStats.Provider</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="getServerState--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getServerState</h4>
+<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getServerState()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumStats.Provider.html#getServerState--">getServerState</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumStats.Provider.html" title="interface in org.apache.zookeeper.server.quorum">QuorumStats.Provider</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="setMyid-long-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setMyid</h4>
+<pre>public&nbsp;void&nbsp;setMyid(long&nbsp;myid)</pre>
+<div class="block">set the id of this quorum peer.</div>
+</li>
+</ul>
+<a name="setInitialConfig-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setInitialConfig</h4>
+<pre>public&nbsp;void&nbsp;setInitialConfig(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;initialConfig)</pre>
+</li>
+</ul>
+<a name="getInitialConfig--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getInitialConfig</h4>
+<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getInitialConfig()</pre>
+</li>
+</ul>
+<a name="getTickTime--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getTickTime</h4>
+<pre>public&nbsp;int&nbsp;getTickTime()</pre>
+<div class="block">Get the number of milliseconds of each tick</div>
+</li>
+</ul>
+<a name="setTickTime-int-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setTickTime</h4>
+<pre>public&nbsp;void&nbsp;setTickTime(int&nbsp;tickTime)</pre>
+<div class="block">Set the number of milliseconds of each tick</div>
+</li>
+</ul>
+<a name="getMaxClientCnxnsPerHost--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getMaxClientCnxnsPerHost</h4>
+<pre>public&nbsp;int&nbsp;getMaxClientCnxnsPerHost()</pre>
+<div class="block">Maximum number of connections allowed from particular host (ip)</div>
+</li>
+</ul>
+<a name="areLocalSessionsEnabled--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>areLocalSessionsEnabled</h4>
+<pre>public&nbsp;boolean&nbsp;areLocalSessionsEnabled()</pre>
+<div class="block">Whether local sessions are enabled</div>
+</li>
+</ul>
+<a name="enableLocalSessions-boolean-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>enableLocalSessions</h4>
+<pre>public&nbsp;void&nbsp;enableLocalSessions(boolean&nbsp;flag)</pre>
+<div class="block">Whether to enable local sessions</div>
+</li>
+</ul>
+<a name="isLocalSessionsUpgradingEnabled--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isLocalSessionsUpgradingEnabled</h4>
+<pre>public&nbsp;boolean&nbsp;isLocalSessionsUpgradingEnabled()</pre>
+<div class="block">Whether local sessions are allowed to upgrade to global sessions</div>
+</li>
+</ul>
+<a name="enableLocalSessionsUpgrading-boolean-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>enableLocalSessionsUpgrading</h4>
+<pre>public&nbsp;void&nbsp;enableLocalSessionsUpgrading(boolean&nbsp;flag)</pre>
+<div class="block">Whether to allow local sessions to upgrade to global sessions</div>
+</li>
+</ul>
+<a name="getMinSessionTimeout--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getMinSessionTimeout</h4>
+<pre>public&nbsp;int&nbsp;getMinSessionTimeout()</pre>
+<div class="block">minimum session timeout in milliseconds</div>
+</li>
+</ul>
+<a name="setMinSessionTimeout-int-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setMinSessionTimeout</h4>
+<pre>public&nbsp;void&nbsp;setMinSessionTimeout(int&nbsp;min)</pre>
+<div class="block">minimum session timeout in milliseconds</div>
+</li>
+</ul>
+<a name="getMaxSessionTimeout--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getMaxSessionTimeout</h4>
+<pre>public&nbsp;int&nbsp;getMaxSessionTimeout()</pre>
+<div class="block">maximum session timeout in milliseconds</div>
+</li>
+</ul>
+<a name="setMaxSessionTimeout-int-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setMaxSessionTimeout</h4>
+<pre>public&nbsp;void&nbsp;setMaxSessionTimeout(int&nbsp;max)</pre>
+<div class="block">maximum session timeout in milliseconds</div>
+</li>
+</ul>
+<a name="getClientPortListenBacklog--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getClientPortListenBacklog</h4>
+<pre>public&nbsp;int&nbsp;getClientPortListenBacklog()</pre>
+<div class="block">The server socket's listen backlog length</div>
+</li>
+</ul>
+<a name="setClientPortListenBacklog-int-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setClientPortListenBacklog</h4>
+<pre>public&nbsp;void&nbsp;setClientPortListenBacklog(int&nbsp;backlog)</pre>
+<div class="block">Sets the server socket's listen backlog length.</div>
+</li>
+</ul>
+<a name="getInitLimit--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getInitLimit</h4>
+<pre>public&nbsp;int&nbsp;getInitLimit()</pre>
+<div class="block">Get the number of ticks that the initial synchronization phase can take</div>
+</li>
+</ul>
+<a name="setInitLimit-int-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setInitLimit</h4>
+<pre>public&nbsp;void&nbsp;setInitLimit(int&nbsp;initLimit)</pre>
+<div class="block">Set the number of ticks that the initial synchronization phase can take</div>
+</li>
+</ul>
+<a name="getTick--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getTick</h4>
+<pre>public&nbsp;int&nbsp;getTick()</pre>
+<div class="block">Get the current tick</div>
+</li>
+</ul>
+<a name="configFromString-java.lang.String-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>configFromString</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/flexible/QuorumVerifier.html" title="interface in org.apache.zookeeper.server.quorum.flexible">QuorumVerifier</a>&nbsp;configFromString(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;s)
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
+ <a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeerConfig.ConfigException.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeerConfig.ConfigException</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
+<dd><code><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeerConfig.ConfigException.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeerConfig.ConfigException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="getQuorumVerifier--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getQuorumVerifier</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/flexible/QuorumVerifier.html" title="interface in org.apache.zookeeper.server.quorum.flexible">QuorumVerifier</a>&nbsp;getQuorumVerifier()</pre>
+<div class="block">Return QuorumVerifier object for the last committed configuration.</div>
+</li>
+</ul>
+<a name="getLastSeenQuorumVerifier--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getLastSeenQuorumVerifier</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/flexible/QuorumVerifier.html" title="interface in org.apache.zookeeper.server.quorum.flexible">QuorumVerifier</a>&nbsp;getLastSeenQuorumVerifier()</pre>
+<div class="block">Return QuorumVerifier object for the last proposed configuration.</div>
+</li>
+</ul>
+<a name="restartLeaderElection-org.apache.zookeeper.server.quorum.flexible.QuorumVerifier-org.apache.zookeeper.server.quorum.flexible.QuorumVerifier-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>restartLeaderElection</h4>
+<pre>public&nbsp;void&nbsp;restartLeaderElection(<a href="../../../../../org/apache/zookeeper/server/quorum/flexible/QuorumVerifier.html" title="interface in org.apache.zookeeper.server.quorum.flexible">QuorumVerifier</a>&nbsp;qvOLD,
+ <a href="../../../../../org/apache/zookeeper/server/quorum/flexible/QuorumVerifier.html" title="interface in org.apache.zookeeper.server.quorum.flexible">QuorumVerifier</a>&nbsp;qvNEW)</pre>
+</li>
+</ul>
+<a name="getNextDynamicConfigFilename--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getNextDynamicConfigFilename</h4>
+<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getNextDynamicConfigFilename()</pre>
+</li>
+</ul>
+<a name="setLastSeenQuorumVerifier-org.apache.zookeeper.server.quorum.flexible.QuorumVerifier-boolean-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setLastSeenQuorumVerifier</h4>
+<pre>public&nbsp;void&nbsp;setLastSeenQuorumVerifier(<a href="../../../../../org/apache/zookeeper/server/quorum/flexible/QuorumVerifier.html" title="interface in org.apache.zookeeper.server.quorum.flexible">QuorumVerifier</a>&nbsp;qv,
+ boolean&nbsp;writeToDisk)</pre>
+</li>
+</ul>
+<a name="setQuorumVerifier-org.apache.zookeeper.server.quorum.flexible.QuorumVerifier-boolean-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setQuorumVerifier</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/flexible/QuorumVerifier.html" title="interface in org.apache.zookeeper.server.quorum.flexible">QuorumVerifier</a>&nbsp;setQuorumVerifier(<a href="../../../../../org/apache/zookeeper/server/quorum/flexible/QuorumVerifier.html" title="interface in org.apache.zookeeper.server.quorum.flexible">QuorumVerifier</a>&nbsp;qv,
+ boolean&nbsp;writeToDisk)</pre>
+</li>
+</ul>
+<a name="getElectionAlg--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getElectionAlg</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/Election.html" title="interface in org.apache.zookeeper.server.quorum">Election</a>&nbsp;getElectionAlg()</pre>
+<div class="block">Get an instance of LeaderElection</div>
+</li>
+</ul>
+<a name="getSyncLimit--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getSyncLimit</h4>
+<pre>public&nbsp;int&nbsp;getSyncLimit()</pre>
+<div class="block">Get the synclimit</div>
+</li>
+</ul>
+<a name="setSyncLimit-int-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setSyncLimit</h4>
+<pre>public&nbsp;void&nbsp;setSyncLimit(int&nbsp;syncLimit)</pre>
+<div class="block">Set the synclimit</div>
+</li>
+</ul>
+<a name="getConnectToLearnerMasterLimit--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getConnectToLearnerMasterLimit</h4>
+<pre>public&nbsp;int&nbsp;getConnectToLearnerMasterLimit()</pre>
+<div class="block">Get the connectToLearnerMasterLimit</div>
+</li>
+</ul>
+<a name="setConnectToLearnerMasterLimit-int-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setConnectToLearnerMasterLimit</h4>
+<pre>public&nbsp;void&nbsp;setConnectToLearnerMasterLimit(int&nbsp;connectToLearnerMasterLimit)</pre>
+<div class="block">Set the connectToLearnerMasterLimit</div>
+</li>
+</ul>
+<a name="getSyncEnabled--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getSyncEnabled</h4>
+<pre>public&nbsp;boolean&nbsp;getSyncEnabled()</pre>
+<div class="block">Return syncEnabled.</div>
+</li>
+</ul>
+<a name="setSyncEnabled-boolean-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setSyncEnabled</h4>
+<pre>public&nbsp;void&nbsp;setSyncEnabled(boolean&nbsp;syncEnabled)</pre>
+<div class="block">Set syncEnabled.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>syncEnabled</code> - </dd>
+</dl>
+</li>
+</ul>
+<a name="getElectionType--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getElectionType</h4>
+<pre>public&nbsp;int&nbsp;getElectionType()</pre>
+<div class="block">Gets the election type</div>
+</li>
+</ul>
+<a name="setElectionType-int-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setElectionType</h4>
+<pre>public&nbsp;void&nbsp;setElectionType(int&nbsp;electionType)</pre>
+<div class="block">Sets the election type</div>
+</li>
+</ul>
+<a name="getQuorumListenOnAllIPs--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getQuorumListenOnAllIPs</h4>
+<pre>public&nbsp;boolean&nbsp;getQuorumListenOnAllIPs()</pre>
+</li>
+</ul>
+<a name="setQuorumListenOnAllIPs-boolean-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setQuorumListenOnAllIPs</h4>
+<pre>public&nbsp;void&nbsp;setQuorumListenOnAllIPs(boolean&nbsp;quorumListenOnAllIPs)</pre>
+</li>
+</ul>
+<a name="setCnxnFactory-org.apache.zookeeper.server.ServerCnxnFactory-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setCnxnFactory</h4>
+<pre>public&nbsp;void&nbsp;setCnxnFactory(<a href="../../../../../org/apache/zookeeper/server/ServerCnxnFactory.html" title="class in org.apache.zookeeper.server">ServerCnxnFactory</a>&nbsp;cnxnFactory)</pre>
+</li>
+</ul>
+<a name="setSecureCnxnFactory-org.apache.zookeeper.server.ServerCnxnFactory-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setSecureCnxnFactory</h4>
+<pre>public&nbsp;void&nbsp;setSecureCnxnFactory(<a href="../../../../../org/apache/zookeeper/server/ServerCnxnFactory.html" title="class in org.apache.zookeeper.server">ServerCnxnFactory</a>&nbsp;secureCnxnFactory)</pre>
+</li>
+</ul>
+<a name="setSslQuorum-boolean-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setSslQuorum</h4>
+<pre>public&nbsp;void&nbsp;setSslQuorum(boolean&nbsp;sslQuorum)</pre>
+</li>
+</ul>
+<a name="setUsePortUnification-boolean-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setUsePortUnification</h4>
+<pre>public&nbsp;void&nbsp;setUsePortUnification(boolean&nbsp;shouldUsePortUnification)</pre>
+</li>
+</ul>
+<a name="setZooKeeperServer-org.apache.zookeeper.server.ZooKeeperServer-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setZooKeeperServer</h4>
+<pre>public&nbsp;void&nbsp;setZooKeeperServer(<a href="../../../../../org/apache/zookeeper/server/ZooKeeperServer.html" title="class in org.apache.zookeeper.server">ZooKeeperServer</a>&nbsp;zks)</pre>
+</li>
+</ul>
+<a name="closeAllConnections--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>closeAllConnections</h4>
+<pre>public&nbsp;void&nbsp;closeAllConnections()</pre>
+</li>
+</ul>
+<a name="getClientPort--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getClientPort</h4>
+<pre>public&nbsp;int&nbsp;getClientPort()</pre>
+</li>
+</ul>
+<a name="setTxnFactory-org.apache.zookeeper.server.persistence.FileTxnSnapLog-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setTxnFactory</h4>
+<pre>public&nbsp;void&nbsp;setTxnFactory(<a href="../../../../../org/apache/zookeeper/server/persistence/FileTxnSnapLog.html" title="class in org.apache.zookeeper.server.persistence">FileTxnSnapLog</a>&nbsp;factory)</pre>
+</li>
+</ul>
+<a name="getTxnFactory--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getTxnFactory</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/zookeeper/server/persistence/FileTxnSnapLog.html" title="class in org.apache.zookeeper.server.persistence">FileTxnSnapLog</a>&nbsp;getTxnFactory()</pre>
+</li>
+</ul>
+<a name="setZKDatabase-org.apache.zookeeper.server.ZKDatabase-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setZKDatabase</h4>
+<pre>public&nbsp;void&nbsp;setZKDatabase(<a href="../../../../../org/apache/zookeeper/server/ZKDatabase.html" title="class in org.apache.zookeeper.server">ZKDatabase</a>&nbsp;database)</pre>
+<div class="block">set zk database for this node</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>database</code> - </dd>
+</dl>
+</li>
+</ul>
+<a name="getZkDb--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getZkDb</h4>
+<pre>protected&nbsp;<a href="../../../../../org/apache/zookeeper/server/ZKDatabase.html" title="class in org.apache.zookeeper.server">ZKDatabase</a>&nbsp;getZkDb()</pre>
+</li>
+</ul>
+<a name="initConfigInZKDatabase--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>initConfigInZKDatabase</h4>
+<pre>public&nbsp;void&nbsp;initConfigInZKDatabase()</pre>
+</li>
+</ul>
+<a name="isRunning--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isRunning</h4>
+<pre>public&nbsp;boolean&nbsp;isRunning()</pre>
+</li>
+</ul>
+<a name="getQuorumCnxManager--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getQuorumCnxManager</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumCnxManager.html" title="class in org.apache.zookeeper.server.quorum">QuorumCnxManager</a>&nbsp;getQuorumCnxManager()</pre>
+<div class="block">get reference to QuorumCnxManager</div>
+</li>
+</ul>
+<a name="getCurrentEpoch--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getCurrentEpoch</h4>
+<pre>public&nbsp;long&nbsp;getCurrentEpoch()
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="getAcceptedEpoch--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getAcceptedEpoch</h4>
+<pre>public&nbsp;long&nbsp;getAcceptedEpoch()
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="setCurrentEpoch-long-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setCurrentEpoch</h4>
+<pre>public&nbsp;void&nbsp;setCurrentEpoch(long&nbsp;e)
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="setAcceptedEpoch-long-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setAcceptedEpoch</h4>
+<pre>public&nbsp;void&nbsp;setAcceptedEpoch(long&nbsp;e)
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="processReconfig-org.apache.zookeeper.server.quorum.flexible.QuorumVerifier-java.lang.Long-java.lang.Long-boolean-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>processReconfig</h4>
+<pre>public&nbsp;boolean&nbsp;processReconfig(<a href="../../../../../org/apache/zookeeper/server/quorum/flexible/QuorumVerifier.html" title="interface in org.apache.zookeeper.server.quorum.flexible">QuorumVerifier</a>&nbsp;qv,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&nbsp;suggestedLeaderId,
+ <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>&nbsp;zxid,
+ boolean&nbsp;restartLE)</pre>
+</li>
+</ul>
+<a name="updateElectionVote-long-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>updateElectionVote</h4>
+<pre>protected&nbsp;void&nbsp;updateElectionVote(long&nbsp;newEpoch)</pre>
+<div class="block">Updates leader election info to avoid inconsistencies when
+ a new server tries to join the ensemble.
+
+ Here is the inconsistency scenario we try to solve by updating the peer
+ epoch after following leader:
+
+ Let's say we have an ensemble with 3 servers z1, z2 and z3.
+
+ 1. z1, z2 were following z3 with peerEpoch to be 0xb8, the new epoch is
+ 0xb9, aka current accepted epoch on disk.
+ 2. z2 get restarted, which will use 0xb9 as it's peer epoch when loading
+ the current accept epoch from disk.
+ 3. z2 received notification from z1 and z3, which is following z3 with
+ epoch 0xb8, so it started following z3 again with peer epoch 0xb8.
+ 4. before z2 successfully connected to z3, z3 get restarted with new
+ epoch 0xb9.
+ 5. z2 will retry around a few round (default 5s) before giving up,
+ meanwhile it will report z3 as leader.
+ 6. z1 restarted, and looking with peer epoch 0xb9.
+ 7. z1 voted z3, and z3 was elected as leader again with peer epoch 0xb9.
+ 8. z2 successfully connected to z3 before giving up, but with peer
+ epoch 0xb8.
+ 9. z1 get restarted, looking for leader with peer epoch 0xba, but cannot
+ join, because z2 is reporting peer epoch 0xb8, while z3 is reporting
+ 0xb9.
+
+ By updating the election vote after actually following leader, we can
+ avoid this kind of stuck happened.
+
+ Btw, the zxid and electionEpoch could be inconsistent because of the same
+ reason, it's better to update these as well after syncing with leader, but
+ that required protocol change which is non trivial. This problem is worked
+ around by skipping comparing the zxid and electionEpoch when counting for
+ votes for out of election servers during looking for leader.
+
+ See https://issues.apache.org/jira/browse/ZOOKEEPER-1732</div>
+</li>
+</ul>
+<a name="createCnxnManager--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createCnxnManager</h4>
+<pre>public&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumCnxManager.html" title="class in org.apache.zookeeper.server.quorum">QuorumCnxManager</a>&nbsp;createCnxnManager()</pre>
+</li>
+</ul>
+<a name="isReconfigEnabled--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isReconfigEnabled</h4>
+<pre>public&nbsp;boolean&nbsp;isReconfigEnabled()</pre>
+</li>
+</ul>
+<a name="getSynced_observers_metric--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getSynced_observers_metric</h4>
+<pre>@InterfaceAudience.Private
+public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&nbsp;getSynced_observers_metric()</pre>
+</li>
+</ul>
+<a name="createFromConfig-org.apache.zookeeper.server.quorum.QuorumPeerConfig-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>createFromConfig</h4>
+<pre>public static&nbsp;<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeer</a>&nbsp;createFromConfig(<a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeerConfig.html" title="class in org.apache.zookeeper.server.quorum">QuorumPeerConfig</a>&nbsp;config)
+ throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Create a new QuorumPeer and apply all the values per the already-parsed config.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>config</code> - The appertained quorum peer config.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>A QuorumPeer instantiated with specified peer config. Note this peer
+ is not fully initialized; caller should finish initialization through
+ additional configurations (connection factory settings, etc).</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/QuorumPeer.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumMXBean.html" title="interface in org.apache.zookeeper.server.quorum"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../../org/apache/zookeeper/server/quorum/QuorumPeer.AddressTuple.html" title="class in org.apache.zookeeper.server.quorum"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../index.html?org/apache/zookeeper/server/quorum/QuorumPeer.html" target="_top">Frames</a></li>
+<li><a href="QuorumPeer.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
+<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2023 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+</body>
+</html>