Enum CompactionTaskStatus
- java.lang.Object
-
- java.lang.Enum<CompactionTaskStatus>
-
- org.apache.iotdb.db.engine.compaction.constant.CompactionTaskStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CompactionTaskStatus>
public enum CompactionTaskStatus extends java.lang.Enum<CompactionTaskStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_TO_QUEUEFINISHEDPOLL_FROM_QUEUEREADY_TO_EXECUTE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CompactionTaskStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CompactionTaskStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD_TO_QUEUE
public static final CompactionTaskStatus ADD_TO_QUEUE
-
POLL_FROM_QUEUE
public static final CompactionTaskStatus POLL_FROM_QUEUE
-
READY_TO_EXECUTE
public static final CompactionTaskStatus READY_TO_EXECUTE
-
FINISHED
public static final CompactionTaskStatus FINISHED
-
-
Method Detail
-
values
public static CompactionTaskStatus[] 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 (CompactionTaskStatus c : CompactionTaskStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CompactionTaskStatus 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
-
-