Class KamikazeErrorHandler

  • All Implemented Interfaces:
    java.lang.Runnable

    public class KamikazeErrorHandler
    extends java.lang.Object
    implements java.lang.Runnable
    This implementation pauses Quartz to not allow to execute the same JOB by two schedulers. If a scheduler cannot register itself due to an exception we stop JVM to prevent concurrent execution of the same jobs together with other nodes that might have found this scheduler as defunct and take over its triggers.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.lang.Object

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

      • KamikazeErrorHandler

        public KamikazeErrorHandler()
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable