public class ReplicatorGroupOptions extends Object
| Constructor and Description |
|---|
ReplicatorGroupOptions() |
| Modifier and Type | Method and Description |
|---|---|
BallotBox |
getBallotBox() |
int |
getElectionTimeoutMs() |
int |
getHeartbeatTimeoutMs() |
LogManager |
getLogManager() |
NodeImpl |
getNode() |
RaftOptions |
getRaftOptions() |
RaftClientService |
getRaftRpcClientService() |
SnapshotStorage |
getSnapshotStorage() |
Scheduler |
getTimerManager() |
void |
setBallotBox(BallotBox ballotBox) |
void |
setElectionTimeoutMs(int electionTimeoutMs) |
void |
setHeartbeatTimeoutMs(int heartbeatTimeoutMs) |
void |
setLogManager(LogManager logManager) |
void |
setNode(NodeImpl node) |
void |
setRaftOptions(RaftOptions raftOptions) |
void |
setRaftRpcClientService(RaftClientService raftRpcService) |
void |
setSnapshotStorage(SnapshotStorage snapshotStorage) |
void |
setTimerManager(Scheduler timerManager) |
String |
toString() |
public Scheduler getTimerManager()
public void setTimerManager(Scheduler timerManager)
public RaftOptions getRaftOptions()
public void setRaftOptions(RaftOptions raftOptions)
public RaftClientService getRaftRpcClientService()
public void setRaftRpcClientService(RaftClientService raftRpcService)
public int getHeartbeatTimeoutMs()
public void setHeartbeatTimeoutMs(int heartbeatTimeoutMs)
public int getElectionTimeoutMs()
public void setElectionTimeoutMs(int electionTimeoutMs)
public LogManager getLogManager()
public void setLogManager(LogManager logManager)
public BallotBox getBallotBox()
public void setBallotBox(BallotBox ballotBox)
public NodeImpl getNode()
public void setNode(NodeImpl node)
public SnapshotStorage getSnapshotStorage()
public void setSnapshotStorage(SnapshotStorage snapshotStorage)
Copyright © 2024. All rights reserved.