@FunctionalInterface public interface DuplicateHandler
| Modifier and Type | Field and Description |
|---|---|
static DuplicateHandler |
DEFAULT
Default handler printing only dropped commands to system output
|
static DuplicateHandler |
NOOP
No-op handler silently ignoring all duplicates.
|
| Modifier and Type | Method and Description |
|---|---|
void |
skipCommandProcessing(Command command)
Command processing is skipped as all events for this command ID have already been applied.
|
default void |
skipEventApplying(Event event)
Event applying is skipped because it has already been applied.
|
static final DuplicateHandler DEFAULT
static final DuplicateHandler NOOP
void skipCommandProcessing(Command command)
This usually happens when
command - the skipped commanddefault void skipEventApplying(Event event)
This usually happens when
event - the skipped eventCopyright © 2020 tools4j.org (Marco Terzer, Anton Anufriev). All Rights Reserved.