org.smallmind.seda
Class EventQueue<I extends Event>

java.lang.Object
  extended by 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
 

Constructor Detail

EventQueue

public EventQueue(int maxQueueCapacity)
Method Detail

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.