public class CDFWEnv
extends java.lang.Object
Constructor and Description |
---|
CDFWEnv(Config config,
IScaler resourceScaler,
IDriverMessenger driverMessenger,
java.util.List<JobMasterAPI.WorkerInfo> workers) |
Modifier and Type | Method and Description |
---|---|
void |
allWorkersJoined(java.util.List<JobMasterAPI.WorkerInfo> workerList) |
void |
close() |
boolean |
decreaseWorkers(int workers) |
void |
executeDataFlowGraph(DataFlowGraph... dataFlowGraph) |
void |
executeDataFlowGraph(DataFlowGraph dataFlowGraph) |
Config |
getConfig() |
java.util.List<JobMasterAPI.WorkerInfo> |
getWorkerInfoList() |
boolean |
increaseWorkers(int workers) |
void |
workerMessageReceived(Any anyMessage,
int senderWorkerID) |
public CDFWEnv(Config config, IScaler resourceScaler, IDriverMessenger driverMessenger, java.util.List<JobMasterAPI.WorkerInfo> workers)
public Config getConfig()
public void executeDataFlowGraph(DataFlowGraph dataFlowGraph)
public void executeDataFlowGraph(DataFlowGraph... dataFlowGraph)
public boolean increaseWorkers(int workers)
public boolean decreaseWorkers(int workers)
public java.util.List<JobMasterAPI.WorkerInfo> getWorkerInfoList()
public void workerMessageReceived(Any anyMessage, int senderWorkerID)
public void allWorkersJoined(java.util.List<JobMasterAPI.WorkerInfo> workerList)
public void close()