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 Modifier and Type Interface Description static interface
CommandProcessor.CommandControl<T>
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
afterAccept(TypedCommandWriter commandWriter, StateWriter stateWriter, long key, Intent intent, T value)
default boolean
onCommand(TypedRecord<T> command, CommandProcessor.CommandControl<T> commandControl)
-
-
-
Method Detail
-
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)
-
-