| Package | Description |
|---|---|
| org.jsimpledb.kv.raft |
A distributed
KVDatabase based on the Raft consensus algorithm. |
| Modifier and Type | Class and Description |
|---|---|
class |
CandidateRole
Raft candidate role.
|
class |
FollowerRole
Raft follower role.
|
class |
LeaderRole
Raft leader role.
|
class |
NonLeaderRole
|
| Modifier and Type | Method and Description |
|---|---|
Role |
RaftKVDatabase.getCurrentRole()
Get this instance's current role: leadeer, follower, or candidate.
|
Copyright © 2016. All rights reserved.