From a7b39799893430519c3732b8b60eaab8fc0df459 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Wed, 25 Aug 2010 00:30:07 +0000 Subject: [PATCH] doc improvement. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34082 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/slaves/ComputerLauncher.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/core/src/main/java/hudson/slaves/ComputerLauncher.java b/core/src/main/java/hudson/slaves/ComputerLauncher.java index 50dd4afd8d..b13208756c 100644 --- a/core/src/main/java/hudson/slaves/ComputerLauncher.java +++ b/core/src/main/java/hudson/slaves/ComputerLauncher.java @@ -97,6 +97,11 @@ public abstract class ComputerLauncher extends AbstractDescribableImpl * This method is invoked after the {@link Channel} to this computer is terminated. + * + *

+ * 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 + * 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