com.google.cloud.bigtable.grpc.io
Enum Watchdog.State
- java.lang.Object
-
- java.lang.Enum<Watchdog.State>
-
- com.google.cloud.bigtable.grpc.io.Watchdog.State
-
- All Implemented Interfaces:
- Serializable, Comparable<Watchdog.State>
- Enclosing class:
- Watchdog
public static enum Watchdog.State extends Enum<Watchdog.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description DELIVERING
Stream received a response from upstream, and is awaiting outerResponseObserver processing.IDLE
Stream has been started, but doesn't have any outstanding requests.NOT_STARTED
WAITING
Stream is awaiting a response from upstream.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static Watchdog.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static Watchdog.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_STARTED
public static final Watchdog.State NOT_STARTED
-
IDLE
public static final Watchdog.State IDLE
Stream has been started, but doesn't have any outstanding requests.
-
WAITING
public static final Watchdog.State WAITING
Stream is awaiting a response from upstream.
-
DELIVERING
public static final Watchdog.State DELIVERING
Stream received a response from upstream, and is awaiting outerResponseObserver processing.
-
-
Method Detail
-
values
public static Watchdog.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Watchdog.State c : Watchdog.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Watchdog.State 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 nameNullPointerException
- if the argument is null
-
-