Package hudson.model
Class ComputerPinger.BuiltInComputerPinger
- java.lang.Object
-
- hudson.model.ComputerPinger
-
- hudson.model.ComputerPinger.BuiltInComputerPinger
-
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- ComputerPinger
@Extension public static class ComputerPinger.BuiltInComputerPinger extends ComputerPinger
Default pinger - use Java built-in functionality. This doesn't always work, a host may be reachable even if this returns false.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.ComputerPinger
ComputerPinger.BuiltInComputerPinger
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description BuiltInComputerPinger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isReachable(InetAddress ia, int timeout)
Is the specified address reachable?-
Methods inherited from class hudson.model.ComputerPinger
all, checkIsReachable
-
-
-
-
Method Detail
-
isReachable
public boolean isReachable(InetAddress ia, int timeout) throws IOException
Description copied from class:ComputerPinger
Is the specified address reachable?- Specified by:
isReachable
in classComputerPinger
- Parameters:
ia
- The address to check.timeout
- Timeout in seconds.- Throws:
IOException
-
-