org.shoulder.batch.progress.ProgressAble Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shoulder-batch Show documentation
Show all versions of shoulder-batch Show documentation
Shoulder 扩展-批处理模块,提供批量数据导入、导出、异步校验、导入历史记录管理等能力。
The newest version!
package org.shoulder.batch.progress;
/**
* 有进度的
*
* @author lym
*/
public interface ProgressAble {
/**
* 任务进度
*
* @return 进度
*/
BatchProgressRecord getBatchProgress();
/**
* 结束后的回调
*/
default void onFinished(String id, ProgressAble task) {
}
}