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

com.alibaba.dts.client.executor.grid.unit.ExecuteUnit Maven / Gradle / Ivy

package com.alibaba.dts.client.executor.grid.unit;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ExecutorService;

import com.alibaba.dts.common.domain.ExecutableTask;

/**
 * @author Ronan Zhan
 * @date 16/10/10
 */
public class ExecuteUnit {

    private Map executorServiceMap = new ConcurrentHashMap();

    private ExecutableTask executableTask;

    public ExecuteUnit(Map executorServiceMap, ExecutableTask executableTask) {
        this.executorServiceMap = executorServiceMap;
        this.executableTask = executableTask;
    }

    public Map getExecutorServiceMap() {
        return executorServiceMap;
    }

    public ExecutableTask getExecutableTask() {
        return executableTask;
    }

    public void init() {

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy