sandynz opened a new issue, #19748:
URL: https://github.com/apache/shardingsphere/issues/19748
Part of #19421.
Purpose:
- Use dividual incremental progress classes, then they could be reused in
other types of jobs.
1, Currently, `YamlIncremental` means part of incremental progress. Related
code of `YamlJobProgress`:
```
private Map<String, YamlIncremental> incremental;
@Getter
@Setter
public static final class YamlIncremental {
private String position;
private IncrementalTaskDelay delay;
}
```
We could add YamlIncrementalTaskProgress class, YamlJobProgress just
reference it: `private IncrementalTaskProgress incremental;`
2, In JobProgress:
```
private Map<String, IncrementalTaskProgress> incrementalTaskProgressMap;
```
We could change IncrementalTaskProgress, JobProgress just reference it:
`private IncrementalTaskProgress incremental;`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail:
[email protected]
For queries about this service, please contact Infrastructure at:
[email protected]