提交 2c449c99 编写于 作者: K kohsuke

doc improvement

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34625 71c3de6d-444a-0410-be80-ed276b4c234a
上级 3b17beab
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册