public static enum Reader.State extends Enum<Reader.State>
| Enum Constant and Description |
|---|
RUNNING
The reader is running and generated records.
|
STOPPED
The reader is stopped and static.
|
STOPPING
The reader has completed its work or been explicitly stopped, but not all of the generated records have been
consumed via
polling. |
| Modifier and Type | Method and Description |
|---|---|
static Reader.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Reader.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Reader.State STOPPED
public static final Reader.State RUNNING
public static final Reader.State STOPPING
polling.public static Reader.State[] values()
for (Reader.State c : Reader.State.values()) System.out.println(c);
public static Reader.State 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 JBoss by Red Hat. All rights reserved.