Enum Class StreamingState

java.lang.Object
java.lang.Enum<StreamingState>
growthbook.sdk.java.diagnostics.model.enums.StreamingState
All Implemented Interfaces:
Serializable, Comparable<StreamingState>, Constable

public enum StreamingState extends Enum<StreamingState>
Derived streaming connection state.
  • Enum Constant Details

    • DISABLED

      public static final StreamingState DISABLED
      Streaming is not configured.
    • SHUTDOWN

      public static final StreamingState SHUTDOWN
      Client resources have been shut down.
    • INITIALIZING

      public static final StreamingState INITIALIZING
      Streaming is configured but not yet fully connected or classified.
    • CONNECTED

      public static final StreamingState CONNECTED
      Streaming is configured, supported, and connected.
    • INTERRUPTED

      public static final StreamingState INTERRUPTED
      Streaming was connected/supported and is currently reconnecting.
    • UNSUPPORTED

      public static final StreamingState UNSUPPORTED
      Streaming is configured but the server did not allow SSE.
  • Method Details

    • values

      public static StreamingState[] 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 StreamingState 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