Class CheckThreadDeadlockJob

java.lang.Object
com.helger.schedule.job.AbstractJob
com.helger.web.scope.util.AbstractScopeAwareJob
com.helger.photon.core.job.app.CheckThreadDeadlockJob
All Implemented Interfaces:
com.helger.quartz.IJob

@DisallowConcurrentExecution public final class CheckThreadDeadlockJob extends com.helger.web.scope.util.AbstractScopeAwareJob
A Quartz job to be scheduled to check for thread dead locks.
Author:
Philip Helger
  • Constructor Summary

    Constructors
    Constructor
    Description
    Public no argument constructor must be available.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    onExecute(com.helger.quartz.JobDataMap aJobDataMap, com.helger.quartz.IJobExecutionContext aContext)
     
    static com.helger.quartz.TriggerKey
    schedule(com.helger.quartz.SimpleScheduleBuilder aScheduleBuilder)
    Call this method to schedule the deadlock detection job.

    Methods inherited from class com.helger.web.scope.util.AbstractScopeAwareJob

    afterExecute, afterExecuteInScope, beforeExecute, beforeExecuteInScope, createMockHttpServletRequest, createMockHttpServletResponse

    Methods inherited from class com.helger.schedule.job.AbstractJob

    exceptionCallbacks, execute, triggerCustomExceptionHandler

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CheckThreadDeadlockJob

      public CheckThreadDeadlockJob()
      Public no argument constructor must be available.
  • Method Details

    • onExecute

      protected void onExecute(@Nonnull com.helger.quartz.JobDataMap aJobDataMap, @Nonnull com.helger.quartz.IJobExecutionContext aContext) throws com.helger.quartz.JobExecutionException
      Specified by:
      onExecute in class com.helger.schedule.job.AbstractJob
      Throws:
      com.helger.quartz.JobExecutionException
    • schedule

      @Nonnull public static com.helger.quartz.TriggerKey schedule(@Nonnull com.helger.quartz.SimpleScheduleBuilder aScheduleBuilder)
      Call this method to schedule the deadlock detection job.
      Parameters:
      aScheduleBuilder - The schedule builder to be used. May not be null. Example: SimpleScheduleBuilder.repeatMinutelyForever (2)
      Returns:
      The created trigger key for further usage. Never null.