public enum JobExecuteTypeInCluster extends Enum<JobExecuteTypeInCluster>
QuartzJob
,
QuartzCronTrigger
,
QuartzSimpleTrigger
Enum Constant and Description |
---|
CONCURRENT
Jobs are executed in all nodes in cluster at the same time.
|
NOT_CONCURRENT
Jobs are executed only on one node in cluster.
|
Modifier and Type | Method and Description |
---|---|
static JobExecuteTypeInCluster |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobExecuteTypeInCluster[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobExecuteTypeInCluster NOT_CONCURRENT
public static final JobExecuteTypeInCluster CONCURRENT
public static JobExecuteTypeInCluster[] values()
for (JobExecuteTypeInCluster c : JobExecuteTypeInCluster.values()) System.out.println(c);
public static JobExecuteTypeInCluster 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 © 2018 Pivotal Software, Inc.. All rights reserved.