Class ExecutorListenerAdapter
- java.lang.Object
-
- risesoft.data.transfer.core.executor.ExecutorListenerAdapter
-
- All Implemented Interfaces:
ExecutorListener
public class ExecutorListenerAdapter extends Object implements ExecutorListener
空的监听器用于适配器- Author:
- lb
- Date:
- 2023年12月11日
-
-
Constructor Summary
Constructors Constructor Description ExecutorListenerAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonError(Throwable e)voidstart()启动执行器voidtaskEnd(Object task)任务消费结束触发的事件voidtaskStart(Object task)一个任务启动
-
-
-
Method Detail
-
taskEnd
public void taskEnd(Object task)
Description copied from interface:ExecutorListener任务消费结束触发的事件- Specified by:
taskEndin interfaceExecutorListener
-
start
public void start()
Description copied from interface:ExecutorListener启动执行器- Specified by:
startin interfaceExecutorListener
-
onError
public void onError(Throwable e)
- Specified by:
onErrorin interfaceExecutorListener
-
taskStart
public void taskStart(Object task)
Description copied from interface:ExecutorListener一个任务启动- Specified by:
taskStartin interfaceExecutorListener
-
-