Class JobThrowErrorProcessor
java.lang.Object
io.camunda.zeebe.engine.processing.job.JobThrowErrorProcessor
- All Implemented Interfaces:
CommandProcessor<JobRecord>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.zeebe.engine.processing.streamprocessor.CommandProcessor
CommandProcessor.CommandControl<T>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionJobThrowErrorProcessor
(ProcessingState state, BpmnEventPublicationBehavior eventPublicationBehavior, KeyGenerator keyGenerator, JobMetrics jobMetrics) -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterAccept
(TypedCommandWriter commandWriter, StateWriter stateWriter, long jobKey, Intent intent, JobRecord job) boolean
onCommand
(TypedRecord<JobRecord> command, CommandProcessor.CommandControl<JobRecord> commandControl) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.camunda.zeebe.engine.processing.streamprocessor.CommandProcessor
tryHandleError
-
Field Details
-
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:
-
NO_JOB_FOUND_MESSAGE
- See Also:
-
-
Constructor Details
-
JobThrowErrorProcessor
public JobThrowErrorProcessor(ProcessingState state, BpmnEventPublicationBehavior eventPublicationBehavior, KeyGenerator keyGenerator, JobMetrics jobMetrics)
-
-
Method Details
-
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>
-