org.wiperdog.jobmanager.internal
Class AbstractGenericJob.SuicideJob
java.lang.Object
org.wiperdog.jobmanager.internal.AbstractGenericJob.SuicideJob
- All Implemented Interfaces:
- org.quartz.InterruptableJob, org.quartz.Job
- Enclosing class:
- AbstractGenericJob
public static final class AbstractGenericJob.SuicideJob
- extends Object
- implements org.quartz.InterruptableJob
Job for suicide.
kill itself if overrunning.
for individual running time setting.
same as "RuntimeLimitterJob" in JobClassImpl.
- Author:
- kurohara
|
Method Summary |
void |
execute(org.quartz.JobExecutionContext context)
|
void |
interrupt()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY_JOBKEY
public static final String KEY_JOBKEY
- See Also:
- Constant Field Values
AbstractGenericJob.SuicideJob
public AbstractGenericJob.SuicideJob()
execute
public void execute(org.quartz.JobExecutionContext context)
throws org.quartz.JobExecutionException
- Specified by:
execute in interface org.quartz.Job
- Throws:
org.quartz.JobExecutionException
interrupt
public void interrupt()
throws org.quartz.UnableToInterruptJobException
- Specified by:
interrupt in interface org.quartz.InterruptableJob
- Throws:
org.quartz.UnableToInterruptJobException
Copyright © 2013. All Rights Reserved.