枚举 OperationMode
java.lang.Object
java.lang.Enum<OperationMode>
org.easysearch.client.indexlifecycle.OperationMode
- 所有已实现的接口:
java.io.Serializable,java.lang.Comparable<OperationMode>,java.lang.constant.Constable
public enum OperationMode extends java.lang.Enum<OperationMode>
Enum representing the different modes that Index Lifecycle Service can operate in.
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>> -
枚举常量概要
枚举常量 枚举常量 说明 RUNNINGNormal operation where all policies are executed as normal.STOPPEDThis represents a state where no policies are executedSTOPPINGthis represents a state where only sensitive actions (likeShrinkAction) will be executed until they finish, at which point the operation mode will move toSTOPPED. -
方法概要
修饰符和类型 方法 说明 abstract booleanisValidChange(OperationMode nextMode)static OperationModevalueOf(java.lang.String name)返回带有指定名称的该类型的枚举常量。static OperationMode[]values()按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。从类继承的方法 java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf从类继承的方法 java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
枚举常量详细资料
-
STOPPED
This represents a state where no policies are executed -
STOPPING
this represents a state where only sensitive actions (likeShrinkAction) will be executed until they finish, at which point the operation mode will move toSTOPPED. -
RUNNING
Normal operation where all policies are executed as normal.
-
-
方法详细资料
-
values
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
java.lang.IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException- 如果参数为空值
-
isValidChange
-