public class RegisterWorker
extends java.lang.Object
Constructor and Description |
---|
RegisterWorker() |
RegisterWorker(java.lang.String jobID,
JobMasterAPI.WorkerInfo workerInfo,
JobMasterAPI.WorkerState initialState) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Integer> |
getAdditionalPorts() |
int |
getComputeResourceIndex() |
java.lang.String |
getJobID() |
Node |
getNode() |
java.lang.String |
getState() |
int |
getWorkerID() |
java.lang.String |
getWorkerIP() |
int |
getWorkerPort() |
void |
setAdditionalPorts(java.util.Map<java.lang.String,java.lang.Integer> additionalPorts) |
void |
setComputeResourceIndex(int computeResourceIndex) |
void |
setJobID(java.lang.String jobID) |
void |
setNode(Node nodeObject) |
void |
setState(java.lang.String state) |
void |
setWorkerID(int workerID) |
void |
setWorkerIP(java.lang.String workerIP) |
void |
setWorkerPort(int workerPort) |
java.lang.String |
toString() |
public RegisterWorker()
public RegisterWorker(java.lang.String jobID, JobMasterAPI.WorkerInfo workerInfo, JobMasterAPI.WorkerState initialState)
public int getComputeResourceIndex()
public java.lang.String getJobID()
public Node getNode()
public java.lang.String getWorkerIP()
public int getWorkerID()
public int getWorkerPort()
public java.lang.String getState()
public java.util.Map<java.lang.String,java.lang.Integer> getAdditionalPorts()
public void setComputeResourceIndex(int computeResourceIndex)
public void setJobID(java.lang.String jobID)
public void setNode(Node nodeObject)
public void setWorkerIP(java.lang.String workerIP)
public void setWorkerID(int workerID)
public void setWorkerPort(int workerPort)
public void setState(java.lang.String state)
public void setAdditionalPorts(java.util.Map<java.lang.String,java.lang.Integer> additionalPorts)
public java.lang.String toString()
toString
in class java.lang.Object