org.lightwolf.synchronization
Class EventPicker

java.lang.Object
  extended by org.lightwolf.synchronization.EventPicker

public class EventPicker
extends Object


Constructor Summary
EventPicker()
           
 
Method Summary
 void notify(Object event, Object message)
           
 void notifyAll(Object event, Object message)
           
 boolean onEvent(Object event)
           
 boolean onTimeout(long time, TimeUnit unit)
           
 void pick()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventPicker

public EventPicker()
Method Detail

pick

public void pick()

onEvent

public boolean onEvent(Object event)

onTimeout

public boolean onTimeout(long time,
                         TimeUnit unit)

notify

public void notify(Object event,
                   Object message)

notifyAll

public void notifyAll(Object event,
                      Object message)