public abstract class ComputerPinger extends Object implements ExtensionPoint
Modifier and Type | Class and Description |
---|---|
static class |
ComputerPinger.BuiltInComputerPinger
Default pinger - use Java built-in functionality.
|
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
ComputerPinger() |
Modifier and Type | Method and Description |
---|---|
static ExtensionList<ComputerPinger> |
all()
Get all registered instances.
|
static boolean |
checkIsReachable(InetAddress ia,
int timeout)
Is this computer reachable via the given address?
|
abstract boolean |
isReachable(InetAddress ia,
int timeout)
Is the specified address reachable?
|
public abstract boolean isReachable(InetAddress ia, int timeout) throws IOException
ia
- The address to check.timeout
- Timeout in seconds.IOException
public static ExtensionList<ComputerPinger> all()
public static boolean checkIsReachable(InetAddress ia, int timeout) throws IOException
ia
- The address to check.timeout
- Timeout in seconds.IOException
Copyright © 2004–2022. All rights reserved.