Interface FD_HOST.PingCommand
- All Known Implementing Classes:
FD_HOST.ExternalPingCommand, FD_HOST.IsReachablePingCommand
- Enclosing class:
FD_HOST
public static interface FD_HOST.PingCommand
Command used to check whether a given host is alive, periodically called
- Version:
- 3.5, 3.4.5
- Author:
- Bela Ban
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisAlive(InetAddress host, long timeout) Checks whether a given host is alive
-
Method Details
-
isAlive
Checks whether a given host is alive- Parameters:
host- The host to be checked for livenesstimeout- Number of milliseconds to wait for the check to complete- Returns:
- true if the host is alive, else false
- Throws:
Exception
-