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

com.yoloho.schedule.interfaces.IScheduleTaskDealMulti Maven / Gradle / Ivy

The newest version!
package com.yoloho.schedule.interfaces;

/**
 * 可批处理的任务接口
 * 
 * @author xuannan
 *
 * @param 任务类型
 */
public interface IScheduleTaskDealMulti extends IScheduleTaskDeal {

    /**
     * 执行给定的任务数组。因为泛型不支持new 数组,只能传递OBJECT[]
     * 
     * @param tasks
     *            任务数组
     * @param ownSign
     *            当前环境名称
     * @return
     * @throws Exception
     */
    public boolean execute(T[] tasks, String ownSign) throws Exception;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy