public static enum JobManagerOptions.HybridPartitionDataConsumeConstraint extends Enum<JobManagerOptions.HybridPartitionDataConsumeConstraint>
Enum Constant and Description |
---|
ALL_PRODUCERS_FINISHED |
ONLY_FINISHED_PRODUCERS |
UNFINISHED_PRODUCERS |
Modifier and Type | Method and Description |
---|---|
boolean |
isOnlyConsumeFinishedPartition() |
static JobManagerOptions.HybridPartitionDataConsumeConstraint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobManagerOptions.HybridPartitionDataConsumeConstraint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobManagerOptions.HybridPartitionDataConsumeConstraint ALL_PRODUCERS_FINISHED
public static final JobManagerOptions.HybridPartitionDataConsumeConstraint ONLY_FINISHED_PRODUCERS
public static final JobManagerOptions.HybridPartitionDataConsumeConstraint UNFINISHED_PRODUCERS
public static JobManagerOptions.HybridPartitionDataConsumeConstraint[] values()
for (JobManagerOptions.HybridPartitionDataConsumeConstraint c : JobManagerOptions.HybridPartitionDataConsumeConstraint.values()) System.out.println(c);
public static JobManagerOptions.HybridPartitionDataConsumeConstraint 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 boolean isOnlyConsumeFinishedPartition()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.