Interface CommandProcessor<T extends UnifiedRecordValue>
- All Known Implementing Classes:
CreateProcessInstanceProcessor,CreateProcessInstanceWithResultProcessor,JobCancelProcessor,JobCompleteProcessor,JobFailProcessor,JobThrowErrorProcessor,JobTimeOutProcessor,JobUpdateRetriesProcessor
public interface CommandProcessor<T extends UnifiedRecordValue>
High-level record processor abstraction that implements the common behavior of most
command-handling processors.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault voidafterAccept(TypedCommandWriter commandWriter, StateWriter stateWriter, long key, Intent intent, T value) default booleanonCommand(TypedRecord<T> command, CommandProcessor.CommandControl<T> commandControl)
-
Method Details
-
onCommand
default boolean onCommand(TypedRecord<T> command, CommandProcessor.CommandControl<T> commandControl) -
afterAccept
default void afterAccept(TypedCommandWriter commandWriter, StateWriter stateWriter, long key, Intent intent, T value)
-