public class ServerViewController extends ViewController
Modifier and Type | Field and Description |
---|---|
static int |
ADD_SERVER |
static int |
CHANGE_F |
static int |
REMOVE_SERVER |
currentView, lastView
Constructor and Description |
---|
ServerViewController(int procId) |
ServerViewController(int procId,
java.lang.String configHome) |
Modifier and Type | Method and Description |
---|---|
TOMMessage[] |
clearUpdates() |
void |
enqueueUpdate(TOMMessage up) |
byte[] |
executeUpdates(int eid,
int decisionRound) |
int |
getCertificateQuorum()
This is the certificate quorum ncessary for some parts of the protocol.
|
int[] |
getCurrentViewAcceptors() |
int[] |
getCurrentViewOtherAcceptors() |
int |
getQuorumAccept() |
int |
getQuorumF() |
int |
getQuorumFastDecide() |
boolean |
hasUpdates() |
boolean |
isInCurrentView() |
boolean |
isInLastJoinSet(int id) |
void |
processJoinResult(ReconfigureReply r) |
void |
reconfigureTo(View newView) |
void |
setTomLayer(TOMLayer tomLayer) |
getCurrentView, getCurrentViewF, getCurrentViewId, getCurrentViewN, getCurrentViewPos, getCurrentViewProcesses, getLastView, getRemoteAddress, getStaticConf, getViewStore, isCurrentViewMember
public static final int ADD_SERVER
public static final int REMOVE_SERVER
public static final int CHANGE_F
public ServerViewController(int procId)
public ServerViewController(int procId, java.lang.String configHome)
public void setTomLayer(TOMLayer tomLayer)
public boolean isInCurrentView()
public int[] getCurrentViewOtherAcceptors()
public int[] getCurrentViewAcceptors()
public boolean hasUpdates()
public void enqueueUpdate(TOMMessage up)
public byte[] executeUpdates(int eid, int decisionRound)
public TOMMessage[] clearUpdates()
public boolean isInLastJoinSet(int id)
public void processJoinResult(ReconfigureReply r)
public final void reconfigureTo(View newView)
reconfigureTo
in class ViewController
public int getCertificateQuorum()
public int getQuorumF()
public int getQuorumFastDecide()
public int getQuorumAccept()