Enum Class PlacementGroupState

java.lang.Object
java.lang.Enum<PlacementGroupState>
io.ray.api.placementgroup.PlacementGroupState
All Implemented Interfaces:
Serializable, Comparable<PlacementGroupState>, java.lang.constant.Constable

public enum PlacementGroupState extends Enum<PlacementGroupState>
State of placement group.
  • Enum Constant Details

    • PENDING

      public static final PlacementGroupState PENDING
      Wait for resource to schedule.
    • CREATED

      public static final PlacementGroupState CREATED
      The placement group has created on some node.
    • REMOVED

      public static final PlacementGroupState REMOVED
      The placement group has removed.
    • RESCHEDULING

      public static final PlacementGroupState RESCHEDULING
      The placement group is rescheduling.
    • UNRECOGNIZED

      public static final PlacementGroupState UNRECOGNIZED
      Unrecognized state.
  • Method Details

    • values

      public static PlacementGroupState[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PlacementGroupState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public int value()