Package com.xxl.job.core.handler.impl
Class MethodJobHandler
java.lang.Object
com.xxl.job.core.handler.IJobHandler
com.xxl.job.core.handler.impl.MethodJobHandler
- Author:
- xuxueli 2019-12-11 21:12:18
-
Constructor Summary
ConstructorsConstructorDescriptionMethodJobHandler(Object target, Method method, Method initMethod, Method destroyMethod) -
Method Summary
-
Constructor Details
-
MethodJobHandler
-
-
Method Details
-
execute
Description copied from class:IJobHandlerexecute handler, invoked when executor receives a scheduling request- Specified by:
executein classIJobHandler- Throws:
Exception
-
init
Description copied from class:IJobHandlerinit handler, invoked when JobThread init- Overrides:
initin classIJobHandler- Throws:
Exception
-
destroy
Description copied from class:IJobHandlerdestroy handler, invoked when JobThread destroy- Overrides:
destroyin classIJobHandler- Throws:
Exception
-
toString
-