private static enum ParallelScanTask.SegmentScanState extends java.lang.Enum<ParallelScanTask.SegmentScanState>
Enum Constant and Description |
---|
Failed
The scan has already failed.
|
HasNextPage
The scan on the current page has finished, but there are more pages in the segment to be scanned.
|
Scanning
The scan is in process, and hasn't finished yet.
|
SegmentScanCompleted
The scan on the whole segment has completed.
|
Waiting
The scan on the segment is waiting for resources to execute and has not started yet.
|
Modifier and Type | Method and Description |
---|---|
static ParallelScanTask.SegmentScanState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParallelScanTask.SegmentScanState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParallelScanTask.SegmentScanState Waiting
public static final ParallelScanTask.SegmentScanState Scanning
public static final ParallelScanTask.SegmentScanState Failed
public static final ParallelScanTask.SegmentScanState HasNextPage
public static final ParallelScanTask.SegmentScanState SegmentScanCompleted
public static ParallelScanTask.SegmentScanState[] values()
for (ParallelScanTask.SegmentScanState c : ParallelScanTask.SegmentScanState.values()) System.out.println(c);
public static ParallelScanTask.SegmentScanState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null