expose useful method

This commit is contained in:
Tadgh 2022-11-14 21:37:53 -08:00
parent 92b927020a
commit 483b88b6d9

View File

@ -34,6 +34,7 @@ import java.util.Iterator;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import java.util.function.Consumer;
public class SynchronizedJobPersistenceWrapper implements IJobPersistence {
@ -136,6 +137,11 @@ public class SynchronizedJobPersistenceWrapper implements IJobPersistence {
return myWrap.fetchWorkChunksWithoutData(theInstanceId, thePageSize, thePageIndex);
}
@Override
public void fetchChunksForStep(String theInstanceId, String theStepId, int thePageSize, int thePageIndex, Consumer<WorkChunk> theConsumer) {
myWrap.fetchChunksForStep(theInstanceId, theStepId, thePageSize, thePageIndex, theConsumer);
}
@Override
public Iterator<WorkChunk> fetchAllWorkChunksIterator(String theInstanceId, boolean theWithData) {
return myWrap.fetchAllWorkChunksIterator(theInstanceId, theWithData);