Batchclass represents a batch of jobs on which the main thread can wait before continuing execution.
Batchclass is a container for a group of
BatchJobobjects. When a batch job is submitted to the Thread Manager using the
Batchobject can be specified as the second parameter. This causes the batch job to be added to the batch and queued for execution. The main thread can be blocked until all of the jobs in a batch have completed by calling the