public enum ScheduleMode extends Enum<ScheduleMode>
Enum Constant and Description |
---|
ALL
Schedule tasks all at once instead of lazy deployment of receiving tasks.
|
BACKTRACKING |
FROM_SOURCES
Schedule tasks from sources to sinks with lazy deployment of receiving tasks.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowLazyDeployment()
Returns whether we are allowed to deploy consumers lazily.
|
static ScheduleMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScheduleMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScheduleMode FROM_SOURCES
public static final ScheduleMode BACKTRACKING
public static final ScheduleMode ALL
public static ScheduleMode[] values()
for (ScheduleMode c : ScheduleMode.values()) System.out.println(c);
public static ScheduleMode 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 allowLazyDeployment()
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.