public class Proposal extends PaxosMessage implements PaxosMessage.Request
PaxosMessage.Acceptance, PaxosMessage.AcceptResponse, PaxosMessage.Denial, PaxosMessage.ProposeResponse, PaxosMessage.Request
commandSlot, proposalNumber, sourceNodeID
Constructor and Description |
---|
Proposal(int sourceNodeID,
long commandSlot,
long proposalNumber) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
public Proposal(int sourceNodeID, long commandSlot, long proposalNumber)
sourceNodeID
- the ID of the node sending this proposalcommandSlot
- the command slot this is a proposal forproposalNumber
- the proposal number of this proposalpublic java.lang.String toString()
toString
in class PaxosMessage