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 static org.slf4j.Logger |
log |
protected PropagationEntry |
tail |
protected InternalWorkingMemory |
workingMemory |
| Constructor and Description |
|---|
SynchronizedPropagationList(InternalWorkingMemory workingMemory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntry(PropagationEntry entry) |
void |
dispose() |
void |
flush() |
void |
flush(PropagationEntry currentHead) |
boolean |
hasEntriesDeferringExpiration() |
boolean |
isEmpty() |
Iterator<PropagationEntry> |
iterator() |
void |
notifyWaitOnRest() |
void |
onEngineInactive() |
void |
reset() |
PropagationEntry |
takeAll() |
void |
waitOnRest() |
protected static final transient org.slf4j.Logger log
protected final InternalWorkingMemory workingMemory
protected volatile PropagationEntry head
protected volatile PropagationEntry tail
public SynchronizedPropagationList(InternalWorkingMemory workingMemory)
public void addEntry(PropagationEntry entry)
addEntry in interface PropagationListpublic void dispose()
dispose in interface PropagationListpublic void flush()
flush in interface PropagationListpublic void flush(PropagationEntry currentHead)
flush in interface PropagationListpublic boolean hasEntriesDeferringExpiration()
hasEntriesDeferringExpiration in interface PropagationListpublic PropagationEntry takeAll()
takeAll in interface PropagationListpublic void reset()
reset in interface PropagationListpublic boolean isEmpty()
isEmpty in interface PropagationListpublic void waitOnRest()
waitOnRest in interface PropagationListpublic void notifyWaitOnRest()
notifyWaitOnRest in interface PropagationListpublic Iterator<PropagationEntry> iterator()
iterator in interface PropagationListpublic void onEngineInactive()
onEngineInactive in interface PropagationListCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.