Package org.jgroups.protocols
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
-
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
-