Class KamikazeErrorHandler
- java.lang.Object
-
- com.netgrif.quartz.mongodb.cluster.KamikazeErrorHandler
-
- All Implemented Interfaces:
java.lang.Runnable
public class KamikazeErrorHandler extends java.lang.Object implements java.lang.RunnableThis 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.
-
-
Constructor Summary
Constructors Constructor Description KamikazeErrorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()
-