|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jgroups.stack.Protocol org.jgroups.protocols.FD org.jgroups.protocols.FD_PING
public class 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).
Nested Class Summary | |
---|---|
protected static class |
FD_PING.Pinger
|
protected class |
FD_PING.PingMonitor
Executes 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, last_ack, local_addr, lock, max_tries, members, monitor_future, num_heartbeats, num_suspect_events, num_tries, ping_dest, pingable_mbrs, suspect_history, timeout, timer |
Fields inherited from class org.jgroups.stack.Protocol |
---|
down_prot, ergonomics, id, log, name, stack, stats, up_prot |
Constructor Summary | |
---|---|
FD_PING()
|
Method Summary | |
---|---|
protected FD.Monitor |
createMonitor()
|
Methods inherited from class org.jgroups.protocols.FD |
---|
computePingDest, down, getCurrentNumTries, getLocalAddress, getMaxTries, getMembers, getNumberOfHeartbeatsSent, getNumSuspectEventsGenerated, getPingableMembers, getPingDest, getPingDest, getTimeout, init, isMonitorRunning, printSuspectHistory, resetStats, sendHeartbeatResponse, setMaxTries, setTimeout, startFailureDetection, startMonitor, stop, stopFailureDetection, stopMonitor, unsuspect, up, updateTimestamp |
Methods inherited from class org.jgroups.stack.Protocol |
---|
destroy, dumpStats, enableStats, getConfigurableObjects, getDownProtocol, getDownServices, getId, getIdsAbove, getLevel, getName, getProtocolStack, getSocketFactory, getThreadFactory, getTransport, getUpProtocol, getUpServices, getValue, isErgonomics, printStats, providedDownServices, providedUpServices, requiredDownServices, requiredUpServices, resetStatistics, setDownProtocol, setErgonomics, setId, setLevel, setProtocolStack, setSocketFactory, setUpProtocol, setValue, setValues, start, statsEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FD_PING()
Method Detail |
---|
protected FD.Monitor createMonitor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |