org.jgroups.util

Interface TimeScheduler.Task

public static interface TimeScheduler.Task

The interface that submitted tasks must implement

Method Summary

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

Method Details

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 B) 2001,2002 www.jgroups.com . All Rights Reserved.