public static enum PollContext.PollItemStatus extends Enum<PollContext.PollItemStatus>
PollContext.accept(Consumer) method| Enum Constant and Description |
|---|
ACCEPTED
The item was accepted and has been scheduled for execution
|
ALREADY_IN_PROCESS
The item was rejected because idempotency was enabled and another thread or node is already processing this item
|
FILTERED_BY_WATERMARK
The item was rejected because watermarking was enabled and it was filtered on that ground
|
SOURCE_STOPPING
The item was rejected because the source has received the stop signal
|
| Modifier and Type | Method and Description |
|---|---|
static PollContext.PollItemStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PollContext.PollItemStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PollContext.PollItemStatus ACCEPTED
public static final PollContext.PollItemStatus FILTERED_BY_WATERMARK
public static final PollContext.PollItemStatus ALREADY_IN_PROCESS
public static final PollContext.PollItemStatus SOURCE_STOPPING
public static PollContext.PollItemStatus[] values()
for (PollContext.PollItemStatus c : PollContext.PollItemStatus.values()) System.out.println(c);
public static PollContext.PollItemStatus 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 © 2022. All rights reserved.