public enum StartPosition extends Enum<StartPosition>
| Enum Constant and Description |
|---|
EARLIEST
Consumer receives messages from the beginning of destination
|
LATEST
Consumer receives messages from the end of destination
|
| Modifier and Type | Method and Description |
|---|---|
static StartPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StartPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StartPosition EARLIEST
public static final StartPosition LATEST
public static StartPosition[] values()
for (StartPosition c : StartPosition.values()) System.out.println(c);
public static StartPosition 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 © 2019 Pivotal Software, Inc.. All rights reserved.