Package jenkins.slaves
Class PingFailureAnalyzer
java.lang.Object
jenkins.slaves.PingFailureAnalyzer
- All Implemented Interfaces:
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionList<PingFailureAnalyzer>
all()
abstract void
onPingFailure
(hudson.remoting.Channel c, Throwable cause)
-
Constructor Details
-
PingFailureAnalyzer
public PingFailureAnalyzer()
-
-
Method Details
-
onPingFailure
- 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
-