ariba.util.core
Class EventQueue
java.lang.Object
ariba.util.core.EventQueue
- Direct Known Subclasses:
- EventLoop
public class EventQueue
- extends Object
A simple queue of events that can be added to and waited on by
multiple threads
EventQueue
public EventQueue()
queueLength
public int queueLength()
addEvent
public void addEvent(EventProcessor anEvent)
- Places anEvent on the event queue.
getNextEvent
public EventProcessor getNextEvent()
- Removes and returns the next EventProcessor from the
EventLoop's event queue.
getNextEventIfAny
public EventProcessor getNextEventIfAny()
AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.