|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Revision(value="$Revision: 1.2 $",
date="$Date: 2006/12/11 21:29:06 $",
tag="$Name: $")
public interface ConcurrentRunnableTaskTODO: Javadoc TODO: Turn state names into hyperlinks Normal states: Runnable -> Committed
TODO: Unit tests, Code review, Javadoc review, Seal/Finalize TODO: equals, hashCode, toString
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface rcf.core.concurrent.schedule.Task |
|---|
Task.State |
| Method Summary | |
|---|---|
void |
commit()
TODO: Javadoc Fully commit. |
void |
interrupt()
TODO: Javadoc Stop running VERY quickly, something has happened that requires an immediate cessation of computation. |
void |
run()
TODO: Javadoc Starts the task running. |
| Methods inherited from interface rcf.core.concurrent.schedule.Task |
|---|
taskState |
| Methods inherited from interface rcf.core.concurrent.events.EventSource |
|---|
events, getSequenceNumber, incSequenceNumber, isSyndicated, syndicate |
| Method Detail |
|---|
void commit()
Task.State.Committing and then Task.State.Committed.
If the commit takes too long (stays in Task.State.Committing), the interrupt() method may be
used to force an immediate cessation of activity.
void interrupt()
Task.State.Interrupting and then Task.State.Interrupted
interrupt in interface InterruptibleTaskInterruptibleTask.interrupt()void run()
run in interface Runnablerun in interface RunnableTaskRunnableTask.run()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||