|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quartz.Trigger
org.quartz.SimpleTrigger
uk.ac.rdg.resc.jstyx.gridservice.server.InstanceTerminatorTrigger
public class InstanceTerminatorTrigger
Job that is fired by the Quartz scheduler in order to automatically destroy a Styx Grid Service instance (i.e. a garbage collector)
| Field Summary |
|---|
| Fields inherited from class org.quartz.SimpleTrigger |
|---|
MISFIRE_INSTRUCTION_FIRE_NOW, MISFIRE_INSTRUCTION_RESCHEDULE_NEXT_WITH_EXISTING_COUNT, MISFIRE_INSTRUCTION_RESCHEDULE_NEXT_WITH_REMAINING_COUNT, MISFIRE_INSTRUCTION_RESCHEDULE_NOW_WITH_EXISTING_REPEAT_COUNT, MISFIRE_INSTRUCTION_RESCHEDULE_NOW_WITH_REMAINING_REPEAT_COUNT, REPEAT_INDEFINITELY |
| Fields inherited from class org.quartz.Trigger |
|---|
INSTRUCTION_DELETE_TRIGGER, INSTRUCTION_NOOP, INSTRUCTION_RE_EXECUTE_JOB, INSTRUCTION_SET_ALL_JOB_TRIGGERS_COMPLETE, INSTRUCTION_SET_ALL_JOB_TRIGGERS_ERROR, INSTRUCTION_SET_TRIGGER_COMPLETE, INSTRUCTION_SET_TRIGGER_ERROR, MISFIRE_INSTRUCTION_SMART_POLICY, STATE_BLOCKED, STATE_COMPLETE, STATE_ERROR, STATE_NONE, STATE_NORMAL, STATE_PAUSED |
| Constructor Summary | |
|---|---|
InstanceTerminatorTrigger(uk.ac.rdg.resc.jstyx.gridservice.server.StyxGridServiceInstance instance,
java.lang.String jobID,
java.util.Date terminationTime)
Creates a new instance of InstanceTerminator. |
|
| Method Summary | |
|---|---|
uk.ac.rdg.resc.jstyx.gridservice.server.StyxGridServiceInstance |
getSGSInstance()
Gets the SGS instance that is associated with this Trigger |
| Methods inherited from class org.quartz.SimpleTrigger |
|---|
computeFirstFireTime, computeNumTimesFiredBetween, executionComplete, getEndTime, getFinalFireTime, getFireTimeAfter, getFireTimeBefore, getNextFireTime, getPreviousFireTime, getRepeatCount, getRepeatInterval, getStartTime, getTimesTriggered, main, mayFireAgain, setEndTime, setNextFireTime, setPreviousFireTime, setRepeatCount, setRepeatInterval, setStartTime, setTimesTriggered, triggered, updateAfterMisfire, updateWithNewCalendar, validate, validateMisfireInstruction |
| Methods inherited from class org.quartz.Trigger |
|---|
addTriggerListener, clone, compareTo, equals, getCalendarName, getDescription, getFireInstanceId, getFullJobName, getFullName, getGroup, getJobDataMap, getJobGroup, getJobName, getMisfireInstruction, getName, getTriggerListenerNames, hashCode, isVolatile, removeTriggerListener, setCalendarName, setDescription, setFireInstanceId, setGroup, setJobDataMap, setJobGroup, setJobName, setMisfireInstruction, setName, setVolatility, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InstanceTerminatorTrigger(uk.ac.rdg.resc.jstyx.gridservice.server.StyxGridServiceInstance instance,
java.lang.String jobID,
java.util.Date terminationTime)
instance - The SGS instance to terminatejobID - A unique ID for the jobterminationTime - The time at which the instance will be terminated| Method Detail |
|---|
public uk.ac.rdg.resc.jstyx.gridservice.server.StyxGridServiceInstance getSGSInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||