public enum SegmentGCStatus extends Enum<SegmentGCStatus>
Enum Constant and Description |
---|
CLEANUP |
COMPACTION |
COMPACTION_FORCE_COMPACT |
COMPACTION_RETRY |
ESTIMATION |
IDLE |
Modifier and Type | Method and 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.
|
public static final SegmentGCStatus IDLE
public static final SegmentGCStatus ESTIMATION
public static final SegmentGCStatus COMPACTION
public static final SegmentGCStatus COMPACTION_RETRY
public static final SegmentGCStatus COMPACTION_FORCE_COMPACT
public static final SegmentGCStatus CLEANUP
public static SegmentGCStatus[] values()
for (SegmentGCStatus c : SegmentGCStatus.values()) System.out.println(c);
public static SegmentGCStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String message()
Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.