Class ScriptJobHandler

java.lang.Object
com.xxl.job.core.handler.IJobHandler
com.xxl.job.core.handler.impl.ScriptJobHandler

public class ScriptJobHandler extends IJobHandler
Created by xuxueli on 17/4/27.
  • Constructor Details

    • ScriptJobHandler

      public ScriptJobHandler(int jobId, long glueUpdatetime, String gluesource, GlueTypeEnum glueType)
  • Method Details

    • getGlueUpdatetime

      public long getGlueUpdatetime()
    • execute

      public void execute() throws Exception
      Description copied from class: IJobHandler
      execute handler, invoked when executor receives a scheduling request
      Specified by:
      execute in class IJobHandler
      Throws:
      Exception