| Package | Description |
|---|---|
| org.jsimpledb.kv.raft.msg |
Raft inter-node messages.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AppendRequest
Sent from leaders to followers to probe the follower's log state and/or append an entry to their log.
|
class |
AppendResponse
Sent from a follower to a leader in response to an
AppendRequest. |
class |
CommitRequest
Sent from followers to leaders to start the commit of a transaction.
|
class |
CommitResponse
Response to a
CommitRequest. |
class |
GrantVote
Sent from a follower to a candidate to grant a vote during an election.
|
class |
InstallSnapshot
Sent from leader to follower to with a chunk of key/value pairs that will wholesale replace the follower's key/value store.
|
class |
PingRequest
Sent from hermits to other nodes when trying to establish communication with a majority.
|
class |
PingResponse
Response to a
PingRequest. |
class |
RequestVote
Send from candidates to other nodes to request a vote during an election.
|
| Modifier and Type | Method and Description |
|---|---|
static Message |
Message.decode(ByteBuffer buf)
Decode a message from the given input.
|
Copyright © 2016. All rights reserved.