Class SideEffectQueue
java.lang.Object
io.camunda.zeebe.engine.processing.streamprocessor.sideeffect.SideEffectQueue
- All Implemented Interfaces:
SideEffectProducer,SideEffects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(SideEffectProducer sideEffectProducer) Chain the given side effect.voidclear()booleanflush()Applies the side effect.
-
Constructor Details
-
SideEffectQueue
public SideEffectQueue()
-
-
Method Details
-
clear
public void clear() -
flush
public boolean flush()Description copied from interface:SideEffectProducerApplies the side effect.- Specified by:
flushin interfaceSideEffectProducer- Returns:
falseto indicate that the side effect could not be applied successfully
-
add
Description copied from interface:SideEffectsChain the given side effect. It will be executed/flushed at the end of the processing.- Specified by:
addin interfaceSideEffects
-