protected static class FD_HOST.ExternalPingCommand extends java.lang.Object implements FD_HOST.PingCommand
| Modifier and Type | Field and Description | 
|---|---|
protected java.lang.String | 
cmd  | 
| Constructor and Description | 
|---|
ExternalPingCommand(java.lang.String cmd)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
isAlive(java.net.InetAddress host,
       long timeout)
Checks whether a given host is alive 
 | 
public boolean isAlive(java.net.InetAddress host,
                       long timeout)
                throws java.lang.Exception
FD_HOST.PingCommandisAlive in interface FD_HOST.PingCommandhost - The host to be checked for livenesstimeout - Number of milliseconds to wait for the check to completejava.lang.ExceptionCopyright © 1998-2020 Red Hat. All Rights Reserved.