public class DefaultRetrievalBuffer6 extends DefaultDelegatedRequestableBuffer6 implements ICompilableBuffer
Modifier and Type | Field and Description |
---|---|
protected RetrievalRequestDelegate |
_retrievalDelegate |
ACTIVATION_PARAM, GOAL_VALUE_PARAM, STRICT_HARVESTING_PARAM
AURAL, AURAL_LOCATION, GOAL, IMAGINAL, MOTOR, RETRIEVAL, VISUAL, VISUAL_LOCATION, VOCAL
BUFFER_SLOT, ERROR_CHANGED_TOO_MUCH_CHUNK, ERROR_DELETED_CHUNK, ERROR_INVALID_INDEX_CHUNK, ERROR_NO_LONGER_AVAILABLE_CHUNK, ERROR_NOTHING_AVAILABLE_CHUNK, ERROR_NOTHING_MATCHES_CHUNK, ERROR_SLOT, ERROR_UNKNOWN_CHUNK, STATE_SLOT
Constructor and Description |
---|
DefaultRetrievalBuffer6(java.lang.String name,
IRetrievalModule module) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<IChunk> |
clearInternal()
clear the status slots too
|
ICompilableContext |
getCompilableContext() |
void |
initialize()
intialize this component
|
protected void |
setSourceChunkInternal(IChunk sourceChunk) |
protected boolean |
shouldCopyOnInsertion(IChunk chunk)
this lets the retrieval buffer contain the original chunk and not its copy
|
addRequestDelegate, addSourceChunkInternal, getRequestDelegates, getSourceChunkInternal, getSourceChunksInternal, removeRequestDelegate, removeSourceChunkInternal, requestInternal, willAccept
request
addListener, addSlot, addSourceChunk, bind, checkStatusSlotContent, dispose, getBusyChunk, getEmptyChunk, getErrorChunk, getFreeChunk, getFullChunk, getRequestedChunk, getSlot, getSlots, getSlots, getUnrequestedChunk, grabReferences, hasSlot, isBufferEmpty, isBufferFull, isBufferRequested, isBufferUnrequested, isErrorSet, isStateBusy, isStateError, isStateFree, removeListener, removeSlot, setBufferChunk, setErrorChunk, setStateChunk, setStatusSlotContent, shouldAcceptAsSource, sourceChunkCopied, valueChanged
addListener, clear, contains, containsExact, getActivation, getActivationSpreader, getEventDispatcher, getG, getLock, getModel, getModule, getName, getParameter, getPossibleParameters, getSetableParameters, getSourceChunk, getSourceChunks, getSourceChunks, handlesEncoding, isStrictHarvestingEnabled, matched, matchedInternal, removeListener, removeSourceChunk, setActivation, setActivationSpreader, setG, setParameter, setStrictHarvestingEnabled, toString
addAdapterFactory, getAdapter, removeAdapterFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addListener, addSourceChunk, clear, contains, dispose, getActivation, getG, getModel, getModule, getName, getSourceChunk, getSourceChunks, getSourceChunks, handlesEncoding, isStrictHarvestingEnabled, matched, removeListener, removeSourceChunk, setActivation, setG
getAdapter
request
protected RetrievalRequestDelegate _retrievalDelegate
public DefaultRetrievalBuffer6(java.lang.String name, IRetrievalModule module)
public void initialize()
IInitializable
initialize
in interface IInitializable
initialize
in class AbstractActivationBuffer
protected java.util.Collection<IChunk> clearInternal()
AbstractActivationBuffer6
clearInternal
in class DefaultDelegatedRequestableBuffer6
AbstractActivationBuffer.clear()
protected boolean shouldCopyOnInsertion(IChunk chunk)
shouldCopyOnInsertion
in class AbstractActivationBuffer6
org.jactr.core.buffer.six.AbstractActivationBuffer6#copyChunkOnInsertion()
protected void setSourceChunkInternal(IChunk sourceChunk)
setSourceChunkInternal
in class DefaultDelegatedRequestableBuffer6
public ICompilableContext getCompilableContext()
getCompilableContext
in interface ICompilableBuffer