Package org.camunda.automator.definition
Enum Class ScenarioStep.MODEEXECUTION
java.lang.Object
java.lang.Enum<ScenarioStep.MODEEXECUTION>
org.camunda.automator.definition.ScenarioStep.MODEEXECUTION
- All Implemented Interfaces:
Serializable,Comparable<ScenarioStep.MODEEXECUTION>,Constable
- Enclosing class:
- ScenarioStep
MODE EXECUTION
CLASSICAL, WAIT: the worker wait the waitingTime time
THREAD, ASYNCHRONOUS: the worker release the method, wait asynchronously the waiting time and send back the answer
THREADTOKEN, ASYNCHRONOUSLIMITED: same as THREAD, but use the maxClient information to not accept more than this number
In ASYNCHRONOUS, the method can potentially having millions of works in parallel (it accept works,
but because it finish the method, then Zeebe Client will accept more works. So, with a waiting time of 1 mn, it may have a lot
of works in progress in the client.
This mode limit the number of current execution on the worker. it redeem immediately the method, but when we reach this
limitation, it froze the worker, waiting for a slot.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ScenarioStep.MODEEXECUTIONReturns the enum constant of this class with the specified name.static ScenarioStep.MODEEXECUTION[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLASSICAL
-
THREAD
-
THREADTOKEN
-
WAIT
-
ASYNCHRONOUS
-
ASYNCHRONOUSLIMITED
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-