Package org.apache.bookkeeper.client
Enum BookieInfoReader.State
- java.lang.Object
-
- java.lang.Enum<BookieInfoReader.State>
-
- org.apache.bookkeeper.client.BookieInfoReader.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BookieInfoReader.State>
- Enclosing class:
- BookieInfoReader
public static enum BookieInfoReader.State extends java.lang.Enum<BookieInfoReader.State>
Tracks whether there is an execution in progress as well as whether another is pending.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BookieInfoReader.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BookieInfoReader.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNQUEUED
public static final BookieInfoReader.State UNQUEUED
-
PARTIAL
public static final BookieInfoReader.State PARTIAL
-
FULL
public static final BookieInfoReader.State FULL
-
-
Method Detail
-
values
public static BookieInfoReader.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 (BookieInfoReader.State c : BookieInfoReader.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 BookieInfoReader.State valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-