|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrcf.core.concurrent.events.AbstractEventSource
rcf.core.concurrent.schedule.AbstractTask
@Revision(value="$Revision: 1.9 $",
date="$Date: 2006/11/25 20:02:00 $",
tag="$Name: $")
public class AbstractTaskTODO: Javadoc
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 |
| Field Summary | |
|---|---|
private Task.State |
state
TODO: Javadoc |
protected static SoftReference<rcf.core.util.collection.ImmutableCollection<Class>> |
taskEventTypes
TODO: Javadoc |
| Fields inherited from class rcf.core.concurrent.events.AbstractEventSource |
|---|
syndicate |
| Constructor Summary | |
|---|---|
AbstractTask()
|
|
| Method Summary | |
|---|---|
rcf.core.util.collection.ImmutableCollection<Class> |
events()
Return an immutable collection of all the classes of Events which
this source will generate and syndicate. |
EventSyndicate |
syndicate()
Return the current syndicate for this event source, or allocate one if there isn't one. |
protected static rcf.core.util.collection.ImmutableCollection<Class> |
taskEventTypes()
TODO: Javadoc |
Task.State |
taskState()
TODO: Javadoc |
protected Task.State |
taskState(Task.State _state)
TODO: Javadoc |
| Methods inherited from class rcf.core.concurrent.events.AbstractEventSource |
|---|
createdSyndicate, destroyedSyndicate, getSequenceNumber, incSequenceNumber, isSyndicated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface rcf.core.concurrent.events.EventSource |
|---|
getSequenceNumber, incSequenceNumber, isSyndicated |
| Field Detail |
|---|
protected static SoftReference<rcf.core.util.collection.ImmutableCollection<Class>> taskEventTypes
private Task.State state
| Constructor Detail |
|---|
public AbstractTask()
| Method Detail |
|---|
protected static final rcf.core.util.collection.ImmutableCollection<Class> taskEventTypes()
public final rcf.core.util.collection.ImmutableCollection<Class> events()
EventSourceEvents which
this source will generate and syndicate. This can be used to check if a
source will be will to generate specific events of interest to a potential
sink.
events in interface EventSourcepublic Task.State taskState()
Task
taskState in interface Taskprotected Task.State taskState(Task.State _state)
_state - public EventSyndicate syndicate()
EventSourcenull unless
EventSource.events().ImmutableIterable.isEmpty() == true.
syndicate in interface EventSourcesyndicate in class AbstractEventSourceEventSink should register
with (EventSyndicate.add(rcf.core.util.reference.Reference, Class))
to receive events from this source.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||