public enum SentinelCheckpoint extends java.lang.Enum<SentinelCheckpoint>
| Enum Constant and Description |
|---|
LATEST
Start from the latest record in the shard.
|
SHARD_END
We've completely processed all records in this shard.
|
TRIM_HORIZON
Start from the first available record in the shard.
|
| Modifier and Type | Method and Description |
|---|---|
static SentinelCheckpoint |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SentinelCheckpoint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SentinelCheckpoint TRIM_HORIZON
public static final SentinelCheckpoint LATEST
public static final SentinelCheckpoint SHARD_END
public static SentinelCheckpoint[] values()
for (SentinelCheckpoint c : SentinelCheckpoint.values()) System.out.println(c);
public static SentinelCheckpoint 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