Class CatchEventBehavior
java.lang.Object
io.camunda.zeebe.engine.processing.common.CatchEventBehavior
-
Constructor Summary
ConstructorsConstructorDescriptionCatchEventBehavior(MutableZeebeState zeebeState, ExpressionProcessor expressionProcessor, SubscriptionCommandSender subscriptionCommandSender, StateWriter stateWriter, DueDateTimerChecker timerChecker, int partitionsCount) -
Method Summary
Modifier and TypeMethodDescriptionsubscribeToEvents(BpmnElementContext context, ExecutableCatchEventSupplier supplier, SideEffects sideEffects, TypedCommandWriter commandWriter) voidsubscribeToTimerEvent(long elementInstanceKey, long processInstanceKey, long processDefinitionKey, org.agrona.DirectBuffer handlerNodeId, Timer timer, TypedCommandWriter commandWriter, SideEffects sideEffects) voidunsubscribeFromEvents(BpmnElementContext context, TypedCommandWriter commandWriter, SideEffects sideEffects) voidunsubscribeFromTimerEvent(TimerInstance timer, TypedCommandWriter commandWriter)
-
Constructor Details
-
CatchEventBehavior
public CatchEventBehavior(MutableZeebeState zeebeState, ExpressionProcessor expressionProcessor, SubscriptionCommandSender subscriptionCommandSender, StateWriter stateWriter, DueDateTimerChecker timerChecker, int partitionsCount)
-
-
Method Details
-
unsubscribeFromEvents
public void unsubscribeFromEvents(BpmnElementContext context, TypedCommandWriter commandWriter, SideEffects sideEffects) -
subscribeToEvents
public Either<Failure,Void> subscribeToEvents(BpmnElementContext context, ExecutableCatchEventSupplier supplier, SideEffects sideEffects, TypedCommandWriter commandWriter) - Returns:
- either a failure or nothing
-
subscribeToTimerEvent
public void subscribeToTimerEvent(long elementInstanceKey, long processInstanceKey, long processDefinitionKey, org.agrona.DirectBuffer handlerNodeId, Timer timer, TypedCommandWriter commandWriter, SideEffects sideEffects) -
unsubscribeFromTimerEvent
-