Package org.jgroups.protocols
Class FD_HOST.ExternalPingCommand
java.lang.Object
org.jgroups.protocols.FD_HOST.ExternalPingCommand
- All Implemented Interfaces:
FD_HOST.PingCommand
- Enclosing class:
FD_HOST
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAlive(InetAddress host, long timeout) Checks whether a given host is alive
-
Field Details
-
cmd
-
-
Constructor Details
-
ExternalPingCommand
-
-
Method Details
-
isAlive
Description copied from interface:FD_HOST.PingCommandChecks whether a given host is alive- Specified by:
isAlivein interfaceFD_HOST.PingCommand- 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
-