/** * Await for that worker batch to complete in case it was marked as finished. * * @throws GridException In case any exception has occurred during batch tasks processing. */ void awaitIfFinished() throws GridException { if (finishGuard.get()) await(); }
/** * Await for that worker batch to complete in case it was marked as finished. * * @throws GridException In case any exception has occurred during batch tasks processing. */ void awaitIfFinished() throws GridException { if (finishGuard.get()) await(); }