(Raft raft, String name, Config config)
| 52 | |
| 53 | // 多个Raft实例才需要自定义配置名字,否则使用默认名字就可以了。 |
| 54 | public Server(Raft raft, String name, Config config) { |
| 55 | super(name, config); |
| 56 | this.raft = raft; |
| 57 | setNoProcedure(true); |
| 58 | } |
| 59 | |
| 60 | public static class ConnectorEx extends Connector { |
| 61 | // Volatile state on leaders: (Reinitialized after election) |
nothing calls this directly
no test coverage detected