public class ProposeDenial extends PaxosMessage implements PaxosMessage.Denial, PaxosMessage.ProposeResponse
PaxosMessage.Acceptance, PaxosMessage.AcceptResponse, PaxosMessage.Denial, PaxosMessage.ProposeResponse, PaxosMessage.Request
Modifier and Type | Field and Description |
---|---|
long |
highestSeenProposalNumber |
commandSlot, proposalNumber, sourceNodeID
Constructor and Description |
---|
ProposeDenial(int sourceNodeID,
long commandSlot,
long proposalNumber,
long highestSeenProposalNumber) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
public ProposeDenial(int sourceNodeID, long commandSlot, long proposalNumber, long highestSeenProposalNumber)
sourceNodeID
- the ID of the node sending this denialcommandSlot
- the command slot this is a denial forproposalNumber
- the proposal number this is a denial forhighestSeenProposalNumber
- the highest proposal number that the source node has seen for
this command slotpublic java.lang.String toString()
toString
in class PaxosMessage