org.jgroups.protocols
Class FD.Monitor

java.lang.Object
  extended by org.jgroups.protocols.FD.Monitor
All Implemented Interfaces:
TimeScheduler.Task
Direct Known Subclasses:
FD_ICMP.PingMonitor, FD_PING.PingMonitor
Enclosing class:
FD

protected class FD.Monitor
extends java.lang.Object
implements TimeScheduler.Task


Constructor Summary
protected FD.Monitor()
           
 
Method Summary
 boolean cancelled()
           
 long nextInterval()
           
 void run()
          Execute the task
 void stop()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FD.Monitor

protected FD.Monitor()
Method Detail

stop

public void stop()

cancelled

public boolean cancelled()
Specified by:
cancelled in interface TimeScheduler.Task
Returns:
true if task is cancelled and shouldn't be scheduled again

nextInterval

public long nextInterval()
Specified by:
nextInterval in interface TimeScheduler.Task
Returns:
the next schedule interval

run

public void run()
Description copied from interface: TimeScheduler.Task
Execute the task

Specified by:
run in interface TimeScheduler.Task

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright ? 1998-2006 Bela Ban. All Rights Reserved.