com.alibaba.schedulerx.worker.route.Router Maven / Gradle / Ivy
package com.alibaba.schedulerx.worker.route;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.util.List;
import java.util.Map;
/**
* @author dingxuan
*/
public abstract class Router {
protected static final Logger LOGGER = LogManager.getLogger();
public abstract void init(String strategyContent);
public abstract String route(long appGroupId, long jobId, List allWorkerList,
Map> targetWorkerAddsMap, long loopCount, String masterWorkerIdAddr);
}