T- type of the work item
public interface BatchableWorkSource<T>
Implementations can contain state to manage how to compute the next batch of work.
Instances should be discarded once there is no more work left to retrieve (i.e. when
hasMoreBatches() returns false)
void reset(int total)
Copyright © 2003–2020 Atlassian. All rights reserved.