public static interface FD_HOST.PingCommand
限定符和类型 | 方法和说明 |
---|---|
boolean |
isAlive(java.net.InetAddress host,
long timeout)
Checks whether a given host is alive
|
boolean isAlive(java.net.InetAddress host, long timeout) throws java.lang.Exception
host
- The host to be checked for livenesstimeout
- Number of milliseconds to wait for the check to completejava.lang.Exception