package cn.wise.sc.energy.power.plant.business.task.async;

import java.io.IOException;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.Future;

/**
 * 耗时任务操作接口
 *
 * @author neo.shu
 * @since 2020/10/07 08:13
 */
@FunctionalInterface
public interface TimeConsumingOperation {

    void operate(Object... args) throws IOException;

    Map<String, Future<String>> REPORT_TASKS_MAP = new ConcurrentHashMap<>();
}
