Enum DropType

java.lang.Object
java.lang.Enum<DropType>
io.grpc.grpclb.DropType
All Implemented Interfaces:
Serializable, Comparable<DropType>

enum DropType extends Enum<DropType>
The reason for dropping a request as instructed by the remote balancer.
  • Enum Constant Details

    • RATE_LIMITING

      public static final DropType RATE_LIMITING
    • LOAD_BALANCING

      public static final DropType LOAD_BALANCING
  • Constructor Details

    • DropType

      private DropType()
  • Method Details

    • values

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

      public static DropType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null