public class SynchronizedPropagationList extends Object implements PropagationList
| Modifier and Type | Class and Description |
|---|---|
static class |
SynchronizedPropagationList.PropagationEntryIterator |
| Modifier and Type | Field and Description |
|---|---|
protected PropagationEntry |
head |
protected PropagationEntry |
tail |
protected InternalWorkingMemory |
workingMemory |
| Constructor and Description |
|---|
SynchronizedPropagationList(InternalWorkingMemory workingMemory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntry(PropagationEntry entry) |
void |
flush() |
static void |
flush(InternalWorkingMemory workingMemory,
PropagationEntry currentHead) |
void |
flushNonMarshallable() |
void |
flushOnFireUntilHalt(boolean fired) |
void |
flushOnFireUntilHalt(boolean fired,
PropagationEntry currentHead) |
protected void |
internalAddEntry(PropagationEntry entry) |
boolean |
isEmpty() |
Iterator<PropagationEntry> |
iterator() |
void |
notifyHalt() |
void |
onEngineInactive() |
void |
reset() |
PropagationEntry |
takeAll() |
protected final InternalWorkingMemory workingMemory
protected volatile PropagationEntry head
protected volatile PropagationEntry tail
public SynchronizedPropagationList(InternalWorkingMemory workingMemory)
public void addEntry(PropagationEntry entry)
addEntry in interface PropagationListprotected void internalAddEntry(PropagationEntry entry)
public void flush()
flush in interface PropagationListpublic void flushOnFireUntilHalt(boolean fired)
flushOnFireUntilHalt in interface PropagationListpublic void flushOnFireUntilHalt(boolean fired,
PropagationEntry currentHead)
flushOnFireUntilHalt in interface PropagationListpublic static void flush(InternalWorkingMemory workingMemory, PropagationEntry currentHead)
public PropagationEntry takeAll()
takeAll in interface PropagationListpublic void flushNonMarshallable()
flushNonMarshallable in interface PropagationListpublic void reset()
reset in interface PropagationListpublic boolean isEmpty()
isEmpty in interface PropagationListpublic void notifyHalt()
notifyHalt in interface PropagationListpublic Iterator<PropagationEntry> iterator()
iterator in interface PropagationListpublic void onEngineInactive()
onEngineInactive in interface PropagationListCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.