|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dream.AbstractComponent
org.objectweb.dream.protocol.utobcast.BackupElectionImpl
Implementation of the BackupElection component. This component is in charge of electing a new backup and propagating the information to all the processes.
Field Summary | |
protected MessageManager |
messageManagerItf
The interface to manage message lifecycle. |
protected Push |
outPushItf
The interface to send BAK, REP, and UPD messages. |
static String |
PENDING_MESSAGES_OUT_ITF_NAME
The commonly used name to refer to the pendingMessageOutItf
interface. |
protected Pull |
pendingMessagesOutItf
The interface to retrieve messages in the PendingMessage
queue. |
protected ProcessMembership |
processMembershipItf
The interface to retrieve process membership information. |
protected SequenceNumber |
sequenceNumberItf
The interface to get/set the sequence number. |
Fields inherited from class org.objectweb.dream.AbstractComponent |
bindingLogger, componentDesc, fcState, firstStart, lifeCycleLogger, logger, weaveableC |
Fields inherited from interface org.objectweb.dream.protocol.utobcast.BackupElection |
ITF_NAME |
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController |
STARTED, STOPPED |
Constructor Summary | |
BackupElectionImpl()
Constructor. |
Method Summary | |
void |
bindFc(String clientItfName,
Object serverItf)
|
void |
elect()
Elects a new backup and propagate information to all the processes. |
String[] |
listFc()
|
Methods inherited from class org.objectweb.dream.AbstractComponent |
beforeFirstStart, getFcState, initComponent, lookupFc, setLogger, startFc, stopFc, unbindFc |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String PENDING_MESSAGES_OUT_ITF_NAME
pendingMessageOutItf
interface.
protected Pull pendingMessagesOutItf
PendingMessage
queue.
protected Push outPushItf
protected ProcessMembership processMembershipItf
protected SequenceNumber sequenceNumberItf
protected MessageManager messageManagerItf
Constructor Detail |
public BackupElectionImpl()
Method Detail |
public void elect()
BackupElection
elect
in interface BackupElection
BackupElection.elect()
public void bindFc(String clientItfName, Object serverItf) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException
bindFc
in interface BindingController
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
BindingController.bindFc(java.lang.String,
java.lang.Object)
public String[] listFc()
listFc
in interface BindingController
BindingController.listFc()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |