Enum Class WaitForEvents

java.lang.Object
java.lang.Enum<WaitForEvents>
org.opensearch.client.opensearch._types.WaitForEvents
All Implemented Interfaces:
Serializable, Comparable<WaitForEvents>, Constable, JsonEnum, JsonpSerializable

@JsonpDeserializable @Generated("org.opensearch.client.codegen.CodeGenerator") public enum WaitForEvents extends Enum<WaitForEvents> implements JsonEnum
Waits until all currently queued events with the given priority are processed.
  • Enum Constant Details

    • High

      public static final WaitForEvents High
      High priority, processed after urgent events.
    • Immediate

      public static final WaitForEvents Immediate
      Highest priority, processed as soon as possible.
    • Languid

      public static final WaitForEvents Languid
      Lowest priority, processed after all other events.
    • Low

      public static final WaitForEvents Low
      Low priority, processed after normal events.
    • Normal

      public static final WaitForEvents Normal
      Default priority, processed after high priority events.
    • Urgent

      public static final WaitForEvents Urgent
      Very high priority, processed after immediate events.
  • Field Details

  • Method Details

    • values

      public static WaitForEvents[] 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 WaitForEvents 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
    • jsonValue

      public String jsonValue()
      Specified by:
      jsonValue in interface JsonEnum