public static enum SystemStreamMetadata.OffsetType extends java.lang.Enum<SystemStreamMetadata.OffsetType>
| Enum Constant and Description |
|---|
NEWEST
Signals the offset of the newest message in a SystemStreamPartition.
|
OLDEST
Signals the offset of the oldest message in a SystemStreamPartition.
|
UPCOMING
Signals the offset of the next message to be written into a
SystemStreamPartition.
|
| Modifier and Type | Method and Description |
|---|---|
static SystemStreamMetadata.OffsetType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SystemStreamMetadata.OffsetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemStreamMetadata.OffsetType OLDEST
public static final SystemStreamMetadata.OffsetType NEWEST
public static final SystemStreamMetadata.OffsetType UPCOMING
public static SystemStreamMetadata.OffsetType[] values()
for (SystemStreamMetadata.OffsetType c : SystemStreamMetadata.OffsetType.values()) System.out.println(c);
public static SystemStreamMetadata.OffsetType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null