AllocationState 枚举

定义

Defines values for AllocationState.

public enum AllocationState
继承
java.lang.Object
java.lang.Enum<AllocationState>
AllocationState

字段

RESIZING

The pool is resizing; that is, compute nodes are being added to or removed from the pool.

STEADY

The pool is not resizing. There are no changes to the number of nodes in the pool in progress. A pool enters this state when it is created and when no operations are being performed on the pool to change the number of nodes.

STOPPING

The pool was resizing, but the user has requested that the resize be stopped, but the stop request has not yet been completed.

方法

fromString(String value)

Parses a serialized value to a AllocationState instance.

public static AllocationState fromString(String value)

参数

value
String

the serialized value to parse.

返回

the parsed AllocationState object, or null if unable to parse.

toString()

public String toString()

参数

value
String

the serialized value to parse.

返回

String

适用于