public static enum FailureEnricher.Context.FailureType extends Enum<FailureEnricher.Context.FailureType>
Enum Constant and Description |
---|
GLOBAL
The failure has occurred in the scheduler context and can't be tracked back to a
particular task.
|
TASK
The failure has been reported by a particular task.
|
TASK_MANAGER
The TaskManager has non-gracefully disconnected from the JobMaster or we have not
received heartbeats for the
configured
timeout . |
Modifier and Type | Method and Description |
---|---|
static FailureEnricher.Context.FailureType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FailureEnricher.Context.FailureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FailureEnricher.Context.FailureType GLOBAL
public static final FailureEnricher.Context.FailureType TASK
public static final FailureEnricher.Context.FailureType TASK_MANAGER
configured
timeout
.public static FailureEnricher.Context.FailureType[] values()
for (FailureEnricher.Context.FailureType c : FailureEnricher.Context.FailureType.values()) System.out.println(c);
public static FailureEnricher.Context.FailureType 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 © 2014–2024 The Apache Software Foundation. All rights reserved.