public enum PlacementGroupState extends Enum<PlacementGroupState>
| Enum Constant and Description |
|---|
CREATED
The placement group has created on some node.
|
PENDING
Wait for resource to schedule.
|
REMOVED
The placement group has removed.
|
RESCHEDULING
The placement group is rescheduling.
|
UNRECOGNIZED
Unrecognized state.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static PlacementGroupState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlacementGroupState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlacementGroupState PENDING
public static final PlacementGroupState CREATED
public static final PlacementGroupState REMOVED
public static final PlacementGroupState RESCHEDULING
public static final PlacementGroupState UNRECOGNIZED
public static PlacementGroupState[] values()
for (PlacementGroupState c : PlacementGroupState.values()) System.out.println(c);
public static PlacementGroupState 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 int value()
Copyright © 2023. All rights reserved.