com.sun.sgs.kernel
Interface RecurringTaskHandle

All Known Implementing Classes:
RecurringTaskHandleImpl

public interface RecurringTaskHandle

This interface provides a handle to a recurring task in the scheduler.


Method Summary
 void cancel()
          Cancels the associated recurring task.
 void start()
          Starts the associated recurring task.
 

Method Detail

cancel

void cancel()
Cancels the associated recurring task. A recurring task may be cancelled before it is started.

Throws:
IllegalStateException - if the task has already been cancelled

start

void start()
Starts the associated recurring task. A recurring task will not start running until this method is called.

Throws:
IllegalStateException - if the task has already been started, or has been cancelled

RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved