Package org.jgroups.protocols
Class FD_PING
java.lang.Object
org.jgroups.stack.Protocol
org.jgroups.protocols.FD
org.jgroups.protocols.FD_PING
Protocol which uses an executable (e.g. /sbin/ping, or a script) to check whether a given host is up or not,
taking 1 argument; the host name of the host to be pinged. Property 'cmd' determines the program to be executed
(use a fully qualified name if the program is not on the path).
- Author:
- Bela Ban
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classprotected classExecutes the ping command.Nested classes/interfaces inherited from class org.jgroups.protocols.FD
FD.Broadcaster, FD.BroadcastTask, FD.FdHeader, FD.Monitor -
Field Summary
Fields inherited from class org.jgroups.protocols.FD
bcast_task, local_addr, lock, members, num_heartbeats, num_suspect_events, num_tries, ping_dest, pingable_mbrs, suspect_history -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jgroups.protocols.FD
down, getCurrentNumTries, getLocalAddress, getMaxTries, getMembers, getNumberOfHeartbeatsSent, getNumSuspectEventsGenerated, getPingableMembers, getPingDest, getTimeout, init, isShun, printSuspectHistory, resetStats, setMaxTries, setShun, setTimeout, startFailureDetection, stop, stopFailureDetection, upMethods inherited from class org.jgroups.stack.Protocol
destroy, downThreadEnabled, dumpStats, enableStats, getConfigurableObjects, getDownProtocol, getId, getLevel, getName, getProperties, getProtocolStack, getSocketFactory, getThreadFactory, getTransport, getUpProtocol, getValue, isErgonomics, printStats, providedDownServices, providedUpServices, requiredDownServices, requiredUpServices, setDownProtocol, setErgonomics, setId, setLevel, setProperties, setPropertiesInternal, setProperty, setProtocolStack, setSocketFactory, setUpProtocol, setValue, setValues, start, statsEnabled, upThreadEnabled
-
Constructor Details
-
FD_PING
public FD_PING()
-
-
Method Details
-
createMonitor
- Overrides:
createMonitorin classFD
-