org.wiperdog.jobmanager.internal
Class AbstractGenericJob.SuicideJob

java.lang.Object
  extended by 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

Field Summary
static String KEY_JOBKEY
           
 
Constructor Summary
AbstractGenericJob.SuicideJob()
           
 
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
 

Field Detail

KEY_JOBKEY

public static final String KEY_JOBKEY
See Also:
Constant Field Values
Constructor Detail

AbstractGenericJob.SuicideJob

public AbstractGenericJob.SuicideJob()
Method Detail

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.