Class JobFailProcessor
java.lang.Object
io.camunda.zeebe.engine.processing.job.JobFailProcessor
- All Implemented Interfaces:
CommandProcessor<JobRecord>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.zeebe.engine.processing.streamprocessor.CommandProcessor
CommandProcessor.CommandControl<T>
-
Constructor Summary
ConstructorDescriptionJobFailProcessor
(ZeebeState state, KeyGenerator keyGenerator, JobMetrics jobMetrics, JobBackoffChecker jobBackoffChecker) -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterAccept
(TypedCommandWriter commandWriter, StateWriter stateWriter, long key, Intent intent, JobRecord value) boolean
onCommand
(TypedRecord<JobRecord> command, CommandProcessor.CommandControl<JobRecord> commandControl, Consumer<SideEffectProducer> sideEffect) 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
onCommand
-
Constructor Details
-
JobFailProcessor
public JobFailProcessor(ZeebeState state, KeyGenerator keyGenerator, JobMetrics jobMetrics, JobBackoffChecker jobBackoffChecker)
-
-
Method Details
-
onCommand
public boolean onCommand(TypedRecord<JobRecord> command, CommandProcessor.CommandControl<JobRecord> commandControl, Consumer<SideEffectProducer> sideEffect) - Specified by:
onCommand
in interfaceCommandProcessor<JobRecord>
-
afterAccept
public void afterAccept(TypedCommandWriter commandWriter, StateWriter stateWriter, long key, Intent intent, JobRecord value) - Specified by:
afterAccept
in interfaceCommandProcessor<JobRecord>
-