All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alibaba.schedulerx.worker.route.Router Maven / Gradle / Ivy

There is a newer version: 1.12.2
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy