E
- the type of command that the request holdspublic class AcceptRequest<E extends PaxosCommand> extends CommandMessage<E> implements PaxosMessage.Request
PaxosMessage.Acceptance, PaxosMessage.AcceptResponse, PaxosMessage.Denial, PaxosMessage.ProposeResponse, PaxosMessage.Request
command
commandSlot, proposalNumber, sourceNodeID
Constructor and Description |
---|
AcceptRequest(int sourceNodeID,
long commandSlot,
long proposalNumber,
E command) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
public AcceptRequest(int sourceNodeID, long commandSlot, long proposalNumber, E command)
sourceNodeID
- the ID of the node sending this requestcommandSlot
- the command slot this is a request forproposalNumber
- the proposal number this is a request forcommand
- the command that the node is trying to get acceptedpublic java.lang.String toString()
toString
in class CommandMessage<E extends PaxosCommand>