org.smallmind.seda
Class EventQueue<I extends Event>
java.lang.Object
org.smallmind.seda.EventQueue<I>
public class EventQueue<I extends Event>
- extends Object
|
Constructor Summary |
EventQueue(int maxQueueCapacity)
|
|
Method Summary |
protected I |
poll(long timeout,
TimeUnit unit)
|
protected void |
put(I event)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventQueue
public EventQueue(int maxQueueCapacity)
put
protected void put(I event)
throws InterruptedException
- Throws:
InterruptedException
poll
protected I poll(long timeout,
TimeUnit unit)
throws InterruptedException
- Throws:
InterruptedException
Copyright © 2011. All Rights Reserved.