Class TaskChunker<T>

java.lang.Object
ca.uhn.fhir.util.TaskChunker<T>
Type Parameters:
T - The type for the chunks

public class TaskChunker<T> extends Object
This utility takes an input collection, breaks it up into chunks of a given maximum chunk size, and then passes those chunks to a consumer for processing. Use this to break up large tasks into smaller tasks.
Since:
6.6.0