org.jgroups.protocols
public class FD_ICMP extends FD
Modifier and Type | Class and Description |
---|---|
protected class |
FD_ICMP.PingMonitor
Runs InetAddress.isReachable().
|
FD.Broadcaster, FD.BroadcastTask, FD.FdHeader, FD.Monitor
Modifier and Type | Field and Description |
---|---|
protected String |
bind_interface_str |
protected int |
ttl
Time-to-live for InetAddress.isReachable()
|
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
Constructor and Description |
---|
FD_ICMP() |
Modifier and Type | Method and Description |
---|---|
protected FD.Monitor |
createMonitor() |
void |
init()
Called after instance has been created (null constructor) and before protocol is started.
|
Object |
up(Event evt)
An event was received from the layer below.
|
computePingDest, down, getCurrentNumTries, getLocalAddress, getMaxTries, getMembers, getNumberOfHeartbeatsSent, getNumSuspectEventsGenerated, getPingableMembers, getPingDest, getPingDest, getTimeout, isMonitorRunning, printSuspectHistory, resetStats, sendHeartbeatResponse, setMaxTries, setTimeout, startFailureDetection, startMonitor, stop, stopFailureDetection, stopMonitor, unsuspect, updateTimestamp
destroy, dumpStats, enableStats, getConfigurableObjects, getDownProtocol, getDownServices, getId, getIdsAbove, getLevel, getName, getProtocolStack, getSocketFactory, getThreadFactory, getTransport, getUpProtocol, getUpServices, getValue, isErgonomics, level, printStats, providedDownServices, providedUpServices, requiredDownServices, requiredUpServices, resetStatistics, setDownProtocol, setErgonomics, setId, setLevel, setProtocolStack, setSocketFactory, setUpProtocol, setValue, setValues, start, statsEnabled
protected String bind_interface_str
protected int ttl
public void init() throws Exception
Protocol
public Object up(Event evt)
Protocol
down_prot.down()
or c) the event (or another event) is sent up
the stack using up_prot.up()
.protected FD.Monitor createMonitor()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.