Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## it.unitn.ds.peersim.fds.interfaces
Interface FailureDetector

All Known Implementing Classes:
  EventuallyStrongFD, StrongFD

    public interface FailureDetector

Distributed Systems Course Project

Year: 2009/2010

University of Trento

FailureDetector -. Interface containing the necessary methods to implement a failure detector.

Version:
  1.0
Author:
  Avancini Mattia, Giampaolo Farina
See Also:
  `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

### callOracle

    java.util.ArrayList<java.lang.Long> callOracle()

  Call oracle.

  Returns:
    the array list.

### addSuspected

    void addSuspected(peersim.core.Node node)

  Adds the suspected.

  Parameters:
    `node` - the node suspected.

### removeSuspected

    void removeSuspected(peersim.core.Node node)

  Removes the suspected.

  Parameters:
    `node` - the node to be removed.

### isSuspected

    boolean isSuspected(peersim.core.Node node)

  Checks if is suspected.

  Parameters:
    `node` - the node to check.
  Returns:
    true, if is suspected, false otherwise.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD