org.jactr.core.queue.timedevents
Class FutureChunkInsertionTimedEvent

java.lang.Object
  extended by org.jactr.core.queue.timedevents.AbstractTimedEvent
      extended by org.jactr.core.queue.timedevents.FutureChunkInsertionTimedEvent
All Implemented Interfaces:
ITimedEvent, IBufferBasedTimedEvent

Deprecated.

@Deprecated
public class FutureChunkInsertionTimedEvent
extends AbstractTimedEvent
implements IBufferBasedTimedEvent

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

Author:
developer

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

LOGGER

public static final org.apache.commons.logging.Log LOGGER
Deprecated. 
logger definition

Constructor Detail

FutureChunkInsertionTimedEvent

public FutureChunkInsertionTimedEvent(java.util.concurrent.Future<IChunk> chunkToInsert,
                                      IActivationBuffer buffer,
                                      double startTime,
                                      double endTime)
Deprecated. 
Method Detail

getBuffer

public IActivationBuffer getBuffer()
Deprecated. 
Description copied from interface: IBufferBasedTimedEvent
return the buffer that this timed event will be posting changes to.

Specified by:
getBuffer in interface IBufferBasedTimedEvent
Returns:

getFutureChunk

public java.util.concurrent.Future<IChunk> getFutureChunk()
Deprecated. 

fire

public void fire(double currentTime)
Deprecated. 
Description copied from class: AbstractTimedEvent
called when this event should be fired..

Specified by:
fire in interface ITimedEvent
Overrides:
fire in class AbstractTimedEvent
Parameters:
currentTime - Description of the Parameter

getInsertedChunk

public IChunk getInsertedChunk()
Deprecated. 

getBoundChunk

public IChunk getBoundChunk()
Deprecated. 
Description copied from interface: IBufferBasedTimedEvent
return the chunk that is (or will be) in the buffer that will be manipulated

Specified by:
getBoundChunk in interface IBufferBasedTimedEvent
Returns: