提交 a7b39799 编写于 作者: K kohsuke

doc improvement.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34082 71c3de6d-444a-0410-be80-ed276b4c234a
上级 5c6b2b00
......@@ -97,6 +97,11 @@ public abstract class ComputerLauncher extends AbstractDescribableImpl<ComputerL
*
* <p>
* This method is invoked after the {@link Channel} to this computer is terminated.
*
* <p>
* Disconnect operation is performed asynchronously, so there's no guarantee
* that the corresponding {@link SlaveComputer} exists for the duration of the
* operation.
*/
public void afterDisconnect(SlaveComputer computer, TaskListener listener) {
// to remain compatible with the legacy implementation that overrides the old signature
......@@ -118,6 +123,11 @@ public abstract class ComputerLauncher extends AbstractDescribableImpl<ComputerL
* thus the channel is still accessible from {@link SlaveComputer#getChannel()}.
* If the channel is terminated unexpectedly, this method will not be invoked,
* as the channel is already gone.
*
* <p>
* Disconnect operation is performed asynchronously, so there's no guarantee
* that the corresponding {@link SlaveComputer} exists for the duration of the
* operation.
*/
public void beforeDisconnect(SlaveComputer computer, TaskListener listener) {
// to remain compatible with the legacy implementation that overrides the old signature
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册