org.javagroups.util
Interface TimeScheduler.Task

Enclosing interface:
TimeScheduler

public static interface TimeScheduler.Task

The interface that submitted tasks must implement


Method Summary
 boolean cancelled()
           
 long nextInterval()
           
 void run()
          Execute the task
 

Method Detail

cancelled

public boolean cancelled()
Returns:
true if task is cancelled and shouldn't be scheduled again

nextInterval

public long nextInterval()
Returns:
the next schedule interval

run

public void run()
Execute the task



Copyright ? 2001,2002 www.javagroups.com . All Rights Reserved.