Enum SegmentGCStatus
- java.lang.Object
-
- java.lang.Enum<SegmentGCStatus>
-
- org.apache.jackrabbit.oak.segment.compaction.SegmentGCStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<SegmentGCStatus>
public enum SegmentGCStatus extends Enum<SegmentGCStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLEANUP
COMPACTION
COMPACTION_FORCE_COMPACT
COMPACTION_RETRY
ESTIMATION
IDLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
message()
static SegmentGCStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static SegmentGCStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IDLE
public static final SegmentGCStatus IDLE
-
ESTIMATION
public static final SegmentGCStatus ESTIMATION
-
COMPACTION
public static final SegmentGCStatus COMPACTION
-
COMPACTION_RETRY
public static final SegmentGCStatus COMPACTION_RETRY
-
COMPACTION_FORCE_COMPACT
public static final SegmentGCStatus COMPACTION_FORCE_COMPACT
-
CLEANUP
public static final SegmentGCStatus CLEANUP
-
-
Method Detail
-
values
public static SegmentGCStatus[] 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 (SegmentGCStatus c : SegmentGCStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SegmentGCStatus 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
-
message
public String message()
-
-