public enum CheckpointMode extends java.lang.Enum<CheckpointMode>
| Enum Constant and Description |
|---|
batch
Checkpoint after each processed batch of records.
|
manual
Checkpoint on demand via provided to the message
Checkpointer callback. |
record
Checkpoint after each processed record.
|
| Modifier and Type | Method and Description |
|---|---|
static CheckpointMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CheckpointMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CheckpointMode record
ListenerMode.record is used.public static final CheckpointMode batch
public static final CheckpointMode manual
Checkpointer callback.public static CheckpointMode[] values()
for (CheckpointMode c : CheckpointMode.values()) System.out.println(c);
public static CheckpointMode 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