public enum RetryType extends Enum<RetryType> implements IntValueEnum<RetryType>
mapped by sched_job.retry_type
| 枚举常量和说明 |
|---|
ALL
重试所有的Task(re-split job param to task param)
|
FAILED
只重试失败的Task(copy previous failed task param)
|
NONE
不重试
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
desc() |
static RetryType |
of(int value) |
int |
value() |
static RetryType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static RetryType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfequalsValue, equalsValue, valuespublic static final RetryType NONE
public static final RetryType FAILED
public static final RetryType ALL
public static RetryType[] values()
for (RetryType c : RetryType.values()) System.out.println(c);
public static RetryType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public int value()
value 在接口中 IntValueEnum<RetryType>public String desc()
desc 在接口中 IntValueEnum<RetryType>public static RetryType of(int value)
Copyright © 2024. All rights reserved.