public class EventLatchManager
- extends Object
Used to manage references to latches that are used to support the ability for test clients to register an event
listener on the server side and to block until that event is published.
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public CountDownLatch getLatch(Class eventClass)
public void addLatch(Class eventClass,
public boolean removeLatch(Class eventClass)
- true if previous latch value was successfully removed
public Collection<Class> clearAllLatches()
- Clear all existing latches, return a collection of all classes for which latches existed.
Copyright © 2003-2012 Atlassian. All Rights Reserved.