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() {
}
}