public static class FD_HOST.IsReachablePingCommand extends java.lang.Object implements FD_HOST.PingCommand
Constructor and Description |
---|
IsReachablePingCommand() |
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.PingCommand
isAlive
in interface FD_HOST.PingCommand
host
- The host to be checked for livenesstimeout
- Number of milliseconds to wait for the check to completejava.lang.Exception
Copyright © 1998-2020 Red Hat. All Rights Reserved.