Class WorkflowExecutionOpenCounts
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the counts of open tasks, child workflow executions and timers for a workflow execution.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The count of activity tasks whose status is OPEN.The count of child workflow executions whose status is OPEN.The count of decision tasks whose status is OPEN.The count of AWS Lambda functions that are currently executing.The count of timers started by this workflow execution that have not fired yet.int
hashCode()
void
setOpenActivityTasks
(Integer openActivityTasks) The count of activity tasks whose status is OPEN.void
setOpenChildWorkflowExecutions
(Integer openChildWorkflowExecutions) The count of child workflow executions whose status is OPEN.void
setOpenDecisionTasks
(Integer openDecisionTasks) The count of decision tasks whose status is OPEN.void
setOpenLambdaFunctions
(Integer openLambdaFunctions) The count of AWS Lambda functions that are currently executing.void
setOpenTimers
(Integer openTimers) The count of timers started by this workflow execution that have not fired yet.toString()
Returns a string representation of this object; useful for testing and debugging.withOpenActivityTasks
(Integer openActivityTasks) The count of activity tasks whose status is OPEN.withOpenChildWorkflowExecutions
(Integer openChildWorkflowExecutions) The count of child workflow executions whose status is OPEN.withOpenDecisionTasks
(Integer openDecisionTasks) The count of decision tasks whose status is OPEN.withOpenLambdaFunctions
(Integer openLambdaFunctions) The count of AWS Lambda functions that are currently executing.withOpenTimers
(Integer openTimers) The count of timers started by this workflow execution that have not fired yet.
-
Constructor Details
-
WorkflowExecutionOpenCounts
public WorkflowExecutionOpenCounts()
-
-
Method Details
-
setOpenActivityTasks
The count of activity tasks whose status is OPEN.
- Parameters:
openActivityTasks
- The count of activity tasks whose status is OPEN.
-
getOpenActivityTasks
The count of activity tasks whose status is OPEN.
- Returns:
- The count of activity tasks whose status is OPEN.
-
withOpenActivityTasks
The count of activity tasks whose status is OPEN.
- Parameters:
openActivityTasks
- The count of activity tasks whose status is OPEN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOpenDecisionTasks
The count of decision tasks whose status is OPEN. A workflow execution can have at most one open decision task.
- Parameters:
openDecisionTasks
- The count of decision tasks whose status is OPEN. A workflow execution can have at most one open decision task.
-
getOpenDecisionTasks
The count of decision tasks whose status is OPEN. A workflow execution can have at most one open decision task.
- Returns:
- The count of decision tasks whose status is OPEN. A workflow execution can have at most one open decision task.
-
withOpenDecisionTasks
The count of decision tasks whose status is OPEN. A workflow execution can have at most one open decision task.
- Parameters:
openDecisionTasks
- The count of decision tasks whose status is OPEN. A workflow execution can have at most one open decision task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOpenTimers
The count of timers started by this workflow execution that have not fired yet.
- Parameters:
openTimers
- The count of timers started by this workflow execution that have not fired yet.
-
getOpenTimers
The count of timers started by this workflow execution that have not fired yet.
- Returns:
- The count of timers started by this workflow execution that have not fired yet.
-
withOpenTimers
The count of timers started by this workflow execution that have not fired yet.
- Parameters:
openTimers
- The count of timers started by this workflow execution that have not fired yet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOpenChildWorkflowExecutions
The count of child workflow executions whose status is OPEN.
- Parameters:
openChildWorkflowExecutions
- The count of child workflow executions whose status is OPEN.
-
getOpenChildWorkflowExecutions
The count of child workflow executions whose status is OPEN.
- Returns:
- The count of child workflow executions whose status is OPEN.
-
withOpenChildWorkflowExecutions
public WorkflowExecutionOpenCounts withOpenChildWorkflowExecutions(Integer openChildWorkflowExecutions) The count of child workflow executions whose status is OPEN.
- Parameters:
openChildWorkflowExecutions
- The count of child workflow executions whose status is OPEN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOpenLambdaFunctions
The count of AWS Lambda functions that are currently executing.
- Parameters:
openLambdaFunctions
- The count of AWS Lambda functions that are currently executing.
-
getOpenLambdaFunctions
The count of AWS Lambda functions that are currently executing.
- Returns:
- The count of AWS Lambda functions that are currently executing.
-
withOpenLambdaFunctions
The count of AWS Lambda functions that are currently executing.
- Parameters:
openLambdaFunctions
- The count of AWS Lambda functions that are currently executing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-