|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jactr.core.queue.timedevents.AbstractTimedEvent
org.jactr.core.queue.timedevents.FutureChunkInsertionTimedEvent
@Deprecated public class FutureChunkInsertionTimedEvent
will insert a chunk into the buffer after a specified amount of time has elapsed. This uses the Future interface so that asynchronous operations can be active up until the time that the chunk is actually required
| Field Summary | |
|---|---|
static org.apache.commons.logging.Log |
LOGGER
Deprecated. logger definition |
| Constructor Summary | |
|---|---|
FutureChunkInsertionTimedEvent(java.util.concurrent.Future<IChunk> chunkToInsert,
IActivationBuffer buffer,
double startTime,
double endTime)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
fire(double currentTime)
Deprecated. called when this event should be fired.. |
IChunk |
getBoundChunk()
Deprecated. return the chunk that is (or will be) in the buffer that will be manipulated |
IActivationBuffer |
getBuffer()
Deprecated. return the buffer that this timed event will be posting changes to. |
java.util.concurrent.Future<IChunk> |
getFutureChunk()
Deprecated. |
IChunk |
getInsertedChunk()
Deprecated. |
| Methods inherited from class org.jactr.core.queue.timedevents.AbstractTimedEvent |
|---|
abort, getEndTime, getStartTime, hasAborted, hasFired, setTimes, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jactr.core.queue.ITimedEvent |
|---|
abort, getEndTime, getStartTime, hasAborted, hasFired |
| Field Detail |
|---|
public static final org.apache.commons.logging.Log LOGGER
| Constructor Detail |
|---|
public FutureChunkInsertionTimedEvent(java.util.concurrent.Future<IChunk> chunkToInsert,
IActivationBuffer buffer,
double startTime,
double endTime)
| Method Detail |
|---|
public IActivationBuffer getBuffer()
IBufferBasedTimedEvent
getBuffer in interface IBufferBasedTimedEventpublic java.util.concurrent.Future<IChunk> getFutureChunk()
public void fire(double currentTime)
AbstractTimedEvent
fire in interface ITimedEventfire in class AbstractTimedEventcurrentTime - Description of the Parameterpublic IChunk getInsertedChunk()
public IChunk getBoundChunk()
IBufferBasedTimedEvent
getBoundChunk in interface IBufferBasedTimedEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||