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
ConstructorsConstructorDescriptionJobFailProcessor(ZeebeState state, KeyGenerator keyGenerator, JobMetrics jobMetrics, JobBackoffChecker jobBackoffChecker, VariableBehavior variableBehavior) -
Method Summary
Modifier and TypeMethodDescriptionvoidafterAccept(TypedCommandWriter commandWriter, StateWriter stateWriter, long key, Intent intent, JobRecord value) booleanonCommand(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, waitMethods inherited from interface io.camunda.zeebe.engine.processing.streamprocessor.CommandProcessor
onCommand, tryHandleError
-
Constructor Details
-
JobFailProcessor
public JobFailProcessor(ZeebeState state, KeyGenerator keyGenerator, JobMetrics jobMetrics, JobBackoffChecker jobBackoffChecker, VariableBehavior variableBehavior)
-
-
Method Details
-
onCommand
public boolean onCommand(TypedRecord<JobRecord> command, CommandProcessor.CommandControl<JobRecord> commandControl, Consumer<SideEffectProducer> sideEffect) - Specified by:
onCommandin interfaceCommandProcessor<JobRecord>
-
afterAccept
public void afterAccept(TypedCommandWriter commandWriter, StateWriter stateWriter, long key, Intent intent, JobRecord value) - Specified by:
afterAcceptin interfaceCommandProcessor<JobRecord>
-