infoservice.agreement.paxos
Class PaxosProposer

java.lang.Object
  extended by infoservice.agreement.paxos.PaxosObject
      extended by infoservice.agreement.paxos.PaxosCommunicator
          extended by infoservice.agreement.paxos.PaxosProposer
Direct Known Subclasses:
PaxosAcceptor

public abstract class PaxosProposer
extends PaxosCommunicator


Field Summary
 java.lang.String m_lastRandom
           
 
Fields inherited from class infoservice.agreement.paxos.PaxosCommunicator
m_targets
 
Constructor Summary
PaxosProposer()
           
 
Method Summary
 void propose(java.lang.String a_value)
          Proposes a value to the other known PaxosAcceptors
 void setRound(java.lang.String a_round)
          Sets the round of this proposal
 
Methods inherited from class infoservice.agreement.paxos.PaxosCommunicator
getF, getIdentifier, getN, getQuorumDecideStrong, getQuorumDecideWeak, getQuorumStrong, getQuorumTwoThird, getTargets, multicast, sendMessage, sendMessage, setTargets
 
Methods inherited from class infoservice.agreement.paxos.PaxosObject
debug, error, fatal, getLog, info, setLog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_lastRandom

public java.lang.String m_lastRandom
Constructor Detail

PaxosProposer

public PaxosProposer()
Method Detail

propose

public void propose(java.lang.String a_value)
Proposes a value to the other known PaxosAcceptors

Parameters:
a_value - The proposal to make

setRound

public void setRound(java.lang.String a_round)
Sets the round of this proposal

Parameters:
a_round - A unique identifier for the round