org.jgroups.protocols
public class FD_PROB extends Protocol implements Runnable
Each member maintains a list of all other members: for each member P, 2 data are maintained, a heartbeat counter and the time of the last increment of the counter. Each member periodically sends its own heartbeat counter list to a randomly chosen member Q. Q updates its own heartbeat counter list and the associated time (if counter was incremented). Each member periodically increments its own counter. If, when sending its heartbeat counter list, a member P detects that another member Q's heartbeat counter was not incremented for timeout seconds, Q will be suspected.
This protocol can be used both with a PBCAST *and* regular stacks.
Version: $Revision: 1.9 $
| Nested Class Summary | |
|---|---|
| static class | FD_PROB.FdHeader |
| Method Summary | |
|---|---|
| void | down(Event evt) |
| String | getName() |
| void | run()
Loop while more than 1 member available. |
| boolean | setProperties(Properties props) |
| void | start() |
| void | stop() |
| void | up(Event evt) |