@Retention(value=RUNTIME) public @interface QuartzSimpleTrigger
SimpleTrigger
in QuartzJob
.
This type of trigger is used to fire a job repeated at a specified interval.
Repeat interval when will be method called can be defined direct in annotation repeatIntervalMillis()
.
or in property repeatIntervalProperty()
.
If repeat interval is saved in property, we can set time unit in which is repeat interval saved
(intervalPropertyUnit()
).
QuartzJob
,
SimpleTrigger
,
QuartzCronTrigger
,
JobExecuteTypeInCluster
Modifier and Type | Fields and Description |
---|---|
static long |
EMPTY_REPEAT_INTERVAL
No repeat interval in
repeatIntervalMillis() . |
Modifier and Type | Optional Element and Description |
---|---|
String |
group
Gets group of trigger.
|
SimpleTriggerPropertyUnit |
intervalPropertyUnit
Gets unit in which is saved repeat interval in property (
repeatIntervalProperty() ). |
SimpleTriggerMisfireInstruction |
misfireInstruction
Gets misfire instruction.
|
String |
name
Gets name of trigger.
|
int |
repeatCount
Gets repeat count - repeat indefinitely.
|
long |
repeatIntervalMillis
Gets repeat interval.
|
String |
repeatIntervalProperty
Property name in which is repeat interval when will be method called.
|
public static final long EMPTY_REPEAT_INTERVAL
repeatIntervalMillis()
.public abstract String group
public abstract String name
public abstract long repeatIntervalMillis
public abstract String repeatIntervalProperty
public abstract SimpleTriggerPropertyUnit intervalPropertyUnit
repeatIntervalProperty()
).public abstract int repeatCount
public abstract SimpleTriggerMisfireInstruction misfireInstruction
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.