doc improvement

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34625 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2010-09-09 22:34:13 +00:00
1 parent 3b17beabf5
commit 2c449c990e
1 file changed
+7
@@ -107,6 +107,13 @@ public final class WorkUnitContext {
startLatch.synchronize();
}
/**
* All the {@link Executor}s that jointly execute a {@link Task} call this method to synchronize on the end of the task.
*
* @throws InterruptedException
* If any of the member thread is interrupted while waiting for other threads to join, all
* the member threads will report {@link InterruptedException}.
*/
public void synchronizeEnd(Queue.Executable executable, Throwable problems, long duration) throws InterruptedException {
endLatch.synchronize();