Package jenkins.slaves
Class PingFailureAnalyzer
- java.lang.Object
-
- jenkins.slaves.PingFailureAnalyzer
-
- All Implemented Interfaces:
ExtensionPoint
public abstract class PingFailureAnalyzer extends Object implements ExtensionPoint
Get notified when a channel triggered a ping failure, but before the channel is killed.This provides the opportunity to perform diagnostic activities.
- Since:
- 1.592
- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description PingFailureAnalyzer()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ExtensionList<PingFailureAnalyzer>
all()
abstract void
onPingFailure(hudson.remoting.Channel c, Throwable cause)
-
-
-
Method Detail
-
onPingFailure
public abstract void onPingFailure(hudson.remoting.Channel c, Throwable cause) throws IOException
- Parameters:
c
- The channel that caused the ping failure. Because this channel is in a troubled state, do not attempt a remote call on this channel. Doing so would risk creating a hang.cause
- Cause of the ping failure. Informational, and probably uninteresting to most callees.- Throws:
IOException
-
all
public static ExtensionList<PingFailureAnalyzer> all()
-
-