dongyukun
2024-12-31 0a2b23ad3f30dfb01c5d590fb98f39e93bfe1932
提交 | 用户 | 时间
e7c126 1 package com.xxl.job.admin.core.route;
H 2
3 import com.xxl.job.core.biz.model.ReturnT;
4 import com.xxl.job.core.biz.model.TriggerParam;
5 import org.slf4j.Logger;
6 import org.slf4j.LoggerFactory;
7
8 import java.util.List;
9
10 /**
11  * Created by xuxueli on 17/3/10.
12  */
13 public abstract class ExecutorRouter {
14     protected static Logger logger = LoggerFactory.getLogger(ExecutorRouter.class);
15
16     /**
17      * route address
18      *
19      * @param addressList
20      * @return  ReturnT.content=address
21      */
22     public abstract ReturnT<String> route(TriggerParam triggerParam, List<String> addressList);
23
24 }