public class ParallelTaskBean
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private HttpMeta |
commandMeta
The command meta.
|
private double |
durationSec
The duration sec.
|
private java.lang.String |
executeStartTime
The execute start time.
|
private java.lang.String |
executionEndTime
The end time.
|
akka.actor.ActorRef |
executionManager
The executionManager.
|
private ParallecResponseHandler |
handler
The handler.
|
private HttpPollerProcessor |
httpPollerProcessor
The http poller processor.
|
private boolean |
isPollable
The is pollable.
|
private java.util.Map<java.lang.String,NodeReqResponse> |
parallelTaskResult
The parallel task result.
|
private java.util.Map<java.lang.String,java.lang.String> |
replacementVarMap
The replacement var map.
|
private java.util.Map<java.lang.String,StrStrMap> |
replacementVarMapNodeSpecific
The replacement var map node specific.
|
private java.lang.Integer |
requestNum
The request num.
|
private java.lang.Integer |
requestNumActual
The request num actual.
|
private RequestReplacementType |
requestReplacementType
The request replacement type.
|
private java.util.Map<java.lang.String,java.lang.Object> |
responseContext
The response context.
|
private java.lang.Integer |
responsedNum
The response received number.
|
private SshMeta |
sshMeta
The ssh meta.
|
private java.lang.String |
state
The state.
|
private java.lang.String |
submitTime
TODO: The start time.
|
private TargetHostMeta |
targetHostMeta
The target host meta.
|
private java.util.List<TaskErrorMeta> |
taskErrorMetas
The task error metas.
|
private java.lang.String |
taskId
The job id.
|
private TcpMeta |
tcpMeta
The ssh meta.
|
private java.lang.String |
timeStamp
The time stamp.
|
Constructor and Description |
---|
ParallelTaskBean(ParallelTask task)
Instantiates a new parallel task bean.
|
Modifier and Type | Method and Description |
---|---|
HttpMeta |
getCommandMeta()
Gets the command meta.
|
double |
getDurationSec() |
java.lang.String |
getExecuteStartTime() |
java.lang.String |
getExecutionEndTime() |
ParallecResponseHandler |
getHandler()
Gets the handler.
|
HttpPollerProcessor |
getHttpPollerProcessor()
Gets the http poller processor.
|
java.util.Map<java.lang.String,NodeReqResponse> |
getParallelTaskResult()
Gets the parallel task result.
|
java.util.Map<java.lang.String,java.lang.String> |
getReplacementVarMap()
Gets the replacement var map.
|
java.util.Map<java.lang.String,StrStrMap> |
getReplacementVarMapNodeSpecific()
Gets the replacement var map node specific.
|
java.lang.Integer |
getRequestNum()
Gets the request num.
|
java.lang.Integer |
getRequestNumActual()
Gets the request num actual.
|
RequestReplacementType |
getRequestReplacementType()
Gets the request replacement type.
|
java.util.Map<java.lang.String,java.lang.Object> |
getResponseContext()
Gets the response context.
|
java.lang.Integer |
getResponsedNum()
Gets the responsed num.
|
SshMeta |
getSshMeta()
Gets the ssh meta.
|
java.lang.String |
getState()
Gets the state.
|
java.lang.String |
getSubmitTime() |
TargetHostMeta |
getTargetHostMeta()
Gets the target host meta.
|
java.util.List<TaskErrorMeta> |
getTaskErrorMetas()
Gets the task error metas.
|
java.lang.String |
getTaskId()
Gets the task id.
|
TcpMeta |
getTcpMeta() |
java.lang.String |
getTimeStamp()
Gets the time stamp.
|
boolean |
isPollable()
Checks if is pollable.
|
void |
setCommandMeta(HttpMeta commandMeta)
Sets the command meta.
|
void |
setDurationSec(double durationSec) |
void |
setExecuteStartTime(java.lang.String executeStartTime) |
void |
setExecutionEndTime(java.lang.String executionEndTime) |
void |
setHandler(ParallecResponseHandler handler)
Sets the handler.
|
void |
setHttpPollerProcessor(HttpPollerProcessor httpPollerProcessor)
Sets the http poller processor.
|
void |
setParallelTaskResult(java.util.Map<java.lang.String,NodeReqResponse> parallelTaskResult)
Sets the parallel task result.
|
void |
setPollable(boolean isPollable)
Sets the pollable.
|
void |
setRequestNum(java.lang.Integer requestNum)
Sets the request num.
|
void |
setRequestNumActual(java.lang.Integer requestNumActual)
Sets the request num actual.
|
void |
setRequestReplacementType(RequestReplacementType requestReplacementType)
Sets the request replacement type.
|
void |
setResponseContext(java.util.Map<java.lang.String,java.lang.Object> responseContext)
Sets the response context.
|
void |
setResponsedNum(java.lang.Integer responsedNum)
Sets the responsed num.
|
void |
setSshMeta(SshMeta sshMeta)
Sets the ssh meta.
|
void |
setState(java.lang.String state)
Sets the state.
|
void |
setSubmitTime(java.lang.String submitTime) |
void |
setTargetHostMeta(TargetHostMeta targetHostMeta)
Sets the target host meta.
|
void |
setTaskId(java.lang.String taskId)
Sets the task id.
|
void |
setTcpMeta(TcpMeta tcpMeta) |
void |
setTimeStamp(java.lang.String timeStamp)
Sets the time stamp.
|
private java.lang.String timeStamp
private java.lang.String submitTime
private java.lang.String executeStartTime
private java.lang.String executionEndTime
private double durationSec
private java.lang.Integer requestNum
private java.lang.Integer requestNumActual
private volatile java.lang.Integer responsedNum
private final java.util.List<TaskErrorMeta> taskErrorMetas
private java.util.Map<java.lang.String,java.lang.Object> responseContext
private java.lang.String state
private java.lang.String taskId
private ParallecResponseHandler handler
private java.util.Map<java.lang.String,NodeReqResponse> parallelTaskResult
private HttpMeta commandMeta
private TargetHostMeta targetHostMeta
private SshMeta sshMeta
private TcpMeta tcpMeta
public akka.actor.ActorRef executionManager
private final java.util.Map<java.lang.String,StrStrMap> replacementVarMapNodeSpecific
private final java.util.Map<java.lang.String,java.lang.String> replacementVarMap
private RequestReplacementType requestReplacementType
private boolean isPollable
private HttpPollerProcessor httpPollerProcessor
public ParallelTaskBean(ParallelTask task)
task
- the taskpublic java.lang.String getTimeStamp()
public void setTimeStamp(java.lang.String timeStamp)
timeStamp
- the new time stamppublic java.lang.Integer getRequestNum()
public void setRequestNum(java.lang.Integer requestNum)
requestNum
- the new request numpublic java.lang.Integer getRequestNumActual()
public void setRequestNumActual(java.lang.Integer requestNumActual)
requestNumActual
- the new request num actualpublic java.lang.Integer getResponsedNum()
public void setResponsedNum(java.lang.Integer responsedNum)
responsedNum
- the new responsed numpublic java.util.Map<java.lang.String,java.lang.Object> getResponseContext()
public void setResponseContext(java.util.Map<java.lang.String,java.lang.Object> responseContext)
responseContext
- the response contextpublic java.lang.String getState()
public void setState(java.lang.String state)
state
- the new statepublic ParallecResponseHandler getHandler()
public void setHandler(ParallecResponseHandler handler)
handler
- the new handlerpublic java.util.Map<java.lang.String,NodeReqResponse> getParallelTaskResult()
public void setParallelTaskResult(java.util.Map<java.lang.String,NodeReqResponse> parallelTaskResult)
parallelTaskResult
- the parallel task resultpublic HttpMeta getCommandMeta()
public void setCommandMeta(HttpMeta commandMeta)
commandMeta
- the new command metapublic TargetHostMeta getTargetHostMeta()
public void setTargetHostMeta(TargetHostMeta targetHostMeta)
targetHostMeta
- the new target host metapublic SshMeta getSshMeta()
public void setSshMeta(SshMeta sshMeta)
sshMeta
- the new ssh metapublic RequestReplacementType getRequestReplacementType()
public void setRequestReplacementType(RequestReplacementType requestReplacementType)
requestReplacementType
- the new request replacement typepublic boolean isPollable()
public void setPollable(boolean isPollable)
isPollable
- the new pollablepublic HttpPollerProcessor getHttpPollerProcessor()
public void setHttpPollerProcessor(HttpPollerProcessor httpPollerProcessor)
httpPollerProcessor
- the new http poller processorpublic java.util.List<TaskErrorMeta> getTaskErrorMetas()
public java.util.Map<java.lang.String,StrStrMap> getReplacementVarMapNodeSpecific()
public java.util.Map<java.lang.String,java.lang.String> getReplacementVarMap()
public java.lang.String getTaskId()
public void setTaskId(java.lang.String taskId)
taskId
- the new task idpublic java.lang.String getSubmitTime()
public void setSubmitTime(java.lang.String submitTime)
public java.lang.String getExecuteStartTime()
public void setExecuteStartTime(java.lang.String executeStartTime)
public java.lang.String getExecutionEndTime()
public void setExecutionEndTime(java.lang.String executionEndTime)
public double getDurationSec()
public void setDurationSec(double durationSec)
public TcpMeta getTcpMeta()
public void setTcpMeta(TcpMeta tcpMeta)