|
@@ -479,7 +479,7 @@ public class QuorumPeer extends ZooKeeperThread implements QuorumStats.Provider
|
|
|
currentVote = v;
|
|
|
}
|
|
|
|
|
|
- volatile boolean running = true;
|
|
|
+ private volatile boolean running = true;
|
|
|
|
|
|
/**
|
|
|
* The number of milliseconds of each tick
|
|
@@ -1750,10 +1750,6 @@ public class QuorumPeer extends ZooKeeperThread implements QuorumStats.Provider
|
|
|
public synchronized void initConfigInZKDatabase() {
|
|
|
if (zkDb != null) zkDb.initConfigInZKDatabase(getQuorumVerifier());
|
|
|
}
|
|
|
-
|
|
|
- public void setRunning(boolean running) {
|
|
|
- this.running = running;
|
|
|
- }
|
|
|
|
|
|
public boolean isRunning() {
|
|
|
return running;
|