|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.filesys.repo.NodeEventQueue
public class NodeEventQueue
Node Event Queue Class
Constructor Summary | |
---|---|
NodeEventQueue()
Class constructor |
Method Summary | |
---|---|
void |
addEvent(NodeEvent event)
Add an event to the queue |
int |
numberOfEvents()
Return the number of events in the queue |
NodeEvent |
removeEvent()
Remove an event from the head of the queue |
NodeEvent |
removeSessionNoWait()
Remove an event from the queue, without waiting if there are no events in the queue |
void |
waitUntilEmpty()
Wait for the event queue to be emptied |
void |
waitWhileEmpty()
Wait for an event to be added to the queue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeEventQueue()
Method Detail |
---|
public final int numberOfEvents()
public final void addEvent(NodeEvent event)
evetn
- NodeEventpublic final NodeEvent removeEvent() throws java.lang.InterruptedException
java.lang.InterruptedException
public final NodeEvent removeSessionNoWait()
public final void waitWhileEmpty() throws java.lang.InterruptedException
java.lang.InterruptedException
public final void waitUntilEmpty() throws java.lang.InterruptedException
java.lang.InterruptedException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |