scs.demos.mapreduce.schedule
Class MasterServant
java.lang.Object
org.omg.PortableServer.Servant
scs.demos.mapreduce.MasterPOA
scs.demos.mapreduce.schedule.MasterServant
- All Implemented Interfaces:
- org.omg.CORBA.portable.InvokeHandler, MasterOperations
public class MasterServant
- extends MasterPOA
Methods inherited from class org.omg.PortableServer.Servant |
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MasterServant
public MasterServant(MasterComponent comp)
start
public void start(java.lang.String configFileName,
Reporter reporter)
throws PropertiesException,
ConectionToExecNodesException,
ChannelException,
WorkerInstantiationException,
TaskInstantiationException,
StartFailureException
- Throws:
PropertiesException
ConectionToExecNodesException
ChannelException
WorkerInstantiationException
TaskInstantiationException
StartFailureException
getOrb
public org.omg.CORBA.ORB getOrb()
getExecNodeList
public java.lang.String[] getExecNodeList()
getContainerName
public java.lang.String getContainerName()
getNum_Mappers
public int getNum_Mappers()
getNum_Reducers
public int getNum_Reducers()
getConfigFileName
public java.lang.String getConfigFileName()
getWorkingOn
public java.util.Hashtable getWorkingOn()
addWorkerQueue
public void addWorkerQueue(Worker w)
addTaskQueue
public void addTaskQueue(Task t)
getNum_Partitions
public int getNum_Partitions()
getComponent
public MasterComponent getComponent()
getMasterHost
public java.lang.String getMasterHost()
getMasterPort
public java.lang.String getMasterPort()
setCurrentPhase
public void setCurrentPhase(scs.demos.mapreduce.schedule.Phase phase)
getCurrentPhase
public scs.demos.mapreduce.schedule.Phase getCurrentPhase()
getReporter
public Reporter getReporter()
getIOFormat
public IOFormat getIOFormat()
getCombineFlag
public boolean getCombineFlag()
getInputFileName
public java.lang.String getInputFileName()
getJoinFlag
public boolean getJoinFlag()
getJoinFileName
public java.lang.String getJoinFileName()