类 XxlJobTrigger
java.lang.Object
com.xxl.job.admin.core.trigger.XxlJobTrigger
xxl-job trigger
Created by xuxueli on 17/7/13.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static com.xxl.job.core.biz.model.ReturnT<String>runExecutor(com.xxl.job.core.biz.model.TriggerParam triggerParam, String address) run executorstatic voidtrigger(int jobId, TriggerTypeEnum triggerType, int failRetryCount, String executorShardingParam, String executorParam, String addressList) trigger job
-
构造器详细资料
-
XxlJobTrigger
public XxlJobTrigger()
-
-
方法详细资料
-
trigger
public static void trigger(int jobId, TriggerTypeEnum triggerType, int failRetryCount, String executorShardingParam, String executorParam, String addressList) trigger job- 参数:
jobId-triggerType-failRetryCount- >=0: use this param <0: use param from job info configexecutorShardingParam-executorParam- null: use job param not null: cover job paramaddressList- null: use executor addressList not null: cover
-
runExecutor
public static com.xxl.job.core.biz.model.ReturnT<String> runExecutor(com.xxl.job.core.biz.model.TriggerParam triggerParam, String address) run executor- 参数:
triggerParam-address-- 返回:
-