use of com.qlangtech.tis.order.dump.task.SingleTableDumpTask in project plugins by qlangtech.
the class LocalTableDumpFactory method createSingleTableDumpJob.
@Override
public IRemoteJobTrigger createSingleTableDumpJob(final IDumpTable table, TaskContext context) {
return triggerTask(context, (rpc) -> {
SingleTableDumpTask tableDumpTask = new SingleTableDumpTask((EntityName) table, LocalTableDumpFactory.this, getDataSourceFactory(table), context.getCoordinator().unwrap(), rpc) {
protected void registerZKDumpNodeIn(TaskContext context) {
}
};
// 开始执行数据dump
tableDumpTask.map(context);
});
}
Aggregations