public static enum SchedulingResultPartition.ResultPartitionState extends Enum<SchedulingResultPartition.ResultPartitionState>
Enum Constant and Description |
---|
DONE
Producer has terminated.
|
EMPTY
Producer is not yet running or in abnormal state.
|
PRODUCING
Producer is running.
|
RELEASED
Partition has been released.
|
Modifier and Type | Method and Description |
---|---|
static SchedulingResultPartition.ResultPartitionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchedulingResultPartition.ResultPartitionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchedulingResultPartition.ResultPartitionState EMPTY
public static final SchedulingResultPartition.ResultPartitionState PRODUCING
public static final SchedulingResultPartition.ResultPartitionState DONE
public static final SchedulingResultPartition.ResultPartitionState RELEASED
public static SchedulingResultPartition.ResultPartitionState[] values()
for (SchedulingResultPartition.ResultPartitionState c : SchedulingResultPartition.ResultPartitionState.values()) System.out.println(c);
public static SchedulingResultPartition.ResultPartitionState 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 nullCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.