org.jgroups.protocols

Class FD_SIMPLE

public class FD_SIMPLE extends Protocol

Simple failure detection protocol. Periodically sends a are-you-alive message to a randomly chosen member (excluding itself) and waits for a response. If a response has not been received within timeout msecs, a counter associated with that member will be incremented. If the counter exceeds max_missed_hbs, that member will be suspected. When a message or a heartbeat are received, the counter is reset to 0.

Version: $Revision: 1.9 $

Author: Bela Ban Aug 2002

Nested Class Summary
static classFD_SIMPLE.FdHeader
Method Summary
voiddown(Event evt)
StringgetName()
voidinit()
booleansetProperties(Properties props)
voidstop()
voidup(Event evt)

Method Detail

down

public void down(Event evt)

getName

public String getName()

init

public void init()

setProperties

public boolean setProperties(Properties props)

stop

public void stop()

up

public void up(Event evt)
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.