Executing a WorkUnit
The ThreadWorker
can expect that its executeWorkUnit
method
will be called once for each ThreadWorkUnit
that the
ThreadWorker
will process. For example, if the batch process will
act upon 10,000 accounts, and the process is submitted with a
ThreadCount=10
, we can expect that there are 10
ThreadWorkers
created by the framework, each of which will have its
executeWorkUnit
method called by the framework for each of the
1,000 ThreadWorkUnits
allocated to that thread.