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 PropagationList
protected void internalAddEntry(PropagationEntry entry)
public void flush()
flush
in interface PropagationList
public void flushOnFireUntilHalt(boolean fired)
flushOnFireUntilHalt
in interface PropagationList
public void flushOnFireUntilHalt(boolean fired, PropagationEntry currentHead)
flushOnFireUntilHalt
in interface PropagationList
public static void flush(InternalWorkingMemory workingMemory, PropagationEntry currentHead)
public PropagationEntry takeAll()
takeAll
in interface PropagationList
public void flushNonMarshallable()
flushNonMarshallable
in interface PropagationList
public void reset()
reset
in interface PropagationList
public boolean isEmpty()
isEmpty
in interface PropagationList
public void notifyHalt()
notifyHalt
in interface PropagationList
public Iterator<PropagationEntry> iterator()
iterator
in interface PropagationList
public void onEngineInactive()
onEngineInactive
in interface PropagationList
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.