p2pMapReduce.nodeModule.nodeFsm
Class Check_Master

java.lang.Object
  extended by p2pMapReduce.nodeModule.nodeFsm.State
      extended by p2pMapReduce.nodeModule.nodeFsm.NodeState
          extended by p2pMapReduce.nodeModule.nodeFsm.Check_Master

public class Check_Master
extends NodeState

Inner state of Slave macro state. A slave in the Idle state periodically transit to this state to check for the existence of one master in the network. If no masters are founded the node automatically become a master by transit to Master macro state.


Nested Class Summary
 
Nested classes/interfaces inherited from class p2pMapReduce.nodeModule.nodeFsm.NodeState
NodeState.StateName
 
Constructor Summary
Check_Master(NodeFSM aThis)
           
 
Method Summary
protected  void entryAction()
          The method to call each time an FSM transit to this state, after leaving the previous state
 
Methods inherited from class p2pMapReduce.nodeModule.nodeFsm.NodeState
backupJobAssigned, backupJobCompleted, backupMasterFailure, becomeMaster, becomeSlave, coordinatorFailure, electionMessage, getNextTimeout, jobAssigned, jobCompleted, jobIDRequest, jobReassigned, jobUpdate, newCoordinator, outputRetrieved, primaryElectionMessage, primaryMasterFailure, primaryUpdate, slaveCheck, slaveFailure, taskAssigned, taskCompleted, timeout
 
Methods inherited from class p2pMapReduce.nodeModule.nodeFsm.State
exitAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Check_Master

public Check_Master(NodeFSM aThis)
Method Detail

entryAction

protected void entryAction()
Description copied from class: State
The method to call each time an FSM transit to this state, after leaving the previous state

Overrides:
entryAction in class State