public enum StateImpact extends Enum<StateImpact>
EventRouter.rollbackAfterProcessing(RollbackMode).| Enum Constant and Description |
|---|
STATE_CORRUPTION_POSSIBLE
The application state is possibly corrupted since some of the events rolled back have already been passed to the
event applier. |
STATE_UNAFFECTED
The application state is safe and not affected by the rollback.
|
| Modifier and Type | Method and Description |
|---|---|
static StateImpact |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StateImpact[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StateImpact STATE_UNAFFECTED
event applier yet.public static final StateImpact STATE_CORRUPTION_POSSIBLE
event applier. The application state is safe only if either
public static StateImpact[] values()
for (StateImpact c : StateImpact.values()) System.out.println(c);
public static StateImpact valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020 tools4j.org (Marco Terzer, Anton Anufriev). All Rights Reserved.