A tracker that ensures enough number of executor cores are alive.
Throws an exception when the number of alive cores is less than nWorkers.
The SparkContext object
The maximum time to wait for enough number of workers.
nWorkers used in an XGBoost Job
Execute a blocking function call with two checks on enough nWorkers:
A blocking function call
The return of body