public enum ReplayStatus extends Enum<ReplayStatus>
Note that this is only sensible for event handlers that are assigned to a StreamingEventProcessor. Event
Handlers assigned to a different mechanism, such as the SubscribingEventProcessor or certain extensions, will
always receive ReplayStatus.REGULAR as value.
@AllowReplay| Enum Constant and Description |
|---|
REGULAR
Indicates the message is not delivered as part of a replay (and has not been delivered before).
|
REPLAY
Indicates the message is delivered as part of a replay (and may have been delivered before)
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isReplay()
Indicates whether this status represents a replay.
|
static ReplayStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplayStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplayStatus REPLAY
public static final ReplayStatus REGULAR
public static ReplayStatus[] values()
for (ReplayStatus c : ReplayStatus.values()) System.out.println(c);
public static ReplayStatus 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 nullpublic boolean isReplay()
true if this status indicates a replay, otherwise falseCopyright © 2010–2023. All rights reserved.