Class JobThrowErrorProcessor
- java.lang.Object
-
- io.camunda.zeebe.engine.processing.job.JobThrowErrorProcessor
-
- All Implemented Interfaces:
CommandProcessor<JobRecord>
public class JobThrowErrorProcessor extends Object implements CommandProcessor<JobRecord>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.camunda.zeebe.engine.processing.streamprocessor.CommandProcessor
CommandProcessor.CommandControl<T>
-
-
Field Summary
Fields Modifier and Type Field Description static String
NO_CATCH_EVENT_FOUND
Marker element ID.
-
Constructor Summary
Constructors Constructor Description JobThrowErrorProcessor(ZeebeState state, BpmnEventPublicationBehavior eventPublicationBehavior, KeyGenerator keyGenerator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterAccept(TypedCommandWriter commandWriter, StateWriter stateWriter, long jobKey, Intent intent, JobRecord job)
boolean
onCommand(TypedRecord<JobRecord> command, CommandProcessor.CommandControl<JobRecord> commandControl)
-
-
-
Field Detail
-
NO_CATCH_EVENT_FOUND
public static final String NO_CATCH_EVENT_FOUND
Marker element ID. This ID is used to indicate that a given catch event could not be found. The marker ID is used to prevent repeated catch event lookups, which is an expensive operation (particularly when no catch event can be found)- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JobThrowErrorProcessor
public JobThrowErrorProcessor(ZeebeState state, BpmnEventPublicationBehavior eventPublicationBehavior, KeyGenerator keyGenerator)
-
-
Method Detail
-
onCommand
public boolean onCommand(TypedRecord<JobRecord> command, CommandProcessor.CommandControl<JobRecord> commandControl)
- Specified by:
onCommand
in interfaceCommandProcessor<JobRecord>
-
afterAccept
public void afterAccept(TypedCommandWriter commandWriter, StateWriter stateWriter, long jobKey, Intent intent, JobRecord job)
- Specified by:
afterAccept
in interfaceCommandProcessor<JobRecord>
-
-