public enum CheckpointDeclineReason extends Enum<CheckpointDeclineReason>
Enum Constant and Description |
---|
ALREADY_QUEUED |
COORDINATOR_SHUTDOWN |
EXCEPTION |
EXPIRED |
MINIMUM_TIME_BETWEEN_CHECKPOINTS |
NOT_ALL_REQUIRED_TASKS_RUNNING |
PERIODIC_SCHEDULER_SHUTDOWN |
TOO_MANY_CONCURRENT_CHECKPOINTS |
Modifier and Type | Method and Description |
---|---|
String |
message() |
static CheckpointDeclineReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CheckpointDeclineReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CheckpointDeclineReason COORDINATOR_SHUTDOWN
public static final CheckpointDeclineReason PERIODIC_SCHEDULER_SHUTDOWN
public static final CheckpointDeclineReason ALREADY_QUEUED
public static final CheckpointDeclineReason TOO_MANY_CONCURRENT_CHECKPOINTS
public static final CheckpointDeclineReason MINIMUM_TIME_BETWEEN_CHECKPOINTS
public static final CheckpointDeclineReason NOT_ALL_REQUIRED_TASKS_RUNNING
public static final CheckpointDeclineReason EXCEPTION
public static final CheckpointDeclineReason EXPIRED
public static CheckpointDeclineReason[] values()
for (CheckpointDeclineReason c : CheckpointDeclineReason.values()) System.out.println(c);
public static CheckpointDeclineReason 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 nullpublic String message()
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.