|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FailureDetector
Distributed Systems Course Project
Year: 2009/2010
University of Trento
FailureDetector -. Interface containing the necessary methods to implement a failure detector.
http://peersim.sourceforge.net/| Method Summary | |
|---|---|
void |
addSuspected(peersim.core.Node node)
Adds the suspected. |
java.util.ArrayList<java.lang.Long> |
callOracle()
Call oracle. |
boolean |
isSuspected(peersim.core.Node node)
Checks if is suspected. |
void |
removeSuspected(peersim.core.Node node)
Removes the suspected. |
| Method Detail |
|---|
java.util.ArrayList<java.lang.Long> callOracle()
void addSuspected(peersim.core.Node node)
node - the node suspected.void removeSuspected(peersim.core.Node node)
node - the node to be removed.boolean isSuspected(peersim.core.Node node)
node - the node to check.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||