public class EventLatchManager extends Object
Constructor and Description |
---|
EventLatchManager() |
Modifier and Type | Method and Description |
---|---|
void |
addLatch(Class eventClass,
CountDownLatch latch) |
Collection<Class> |
clearAllLatches()
Clear all existing latches, return a collection of all classes for which latches existed.
|
CountDownLatch |
getLatch(Class eventClass) |
boolean |
removeLatch(Class eventClass) |
public CountDownLatch getLatch(Class eventClass)
public void addLatch(Class eventClass, CountDownLatch latch)
public boolean removeLatch(Class eventClass)
public Collection<Class> clearAllLatches()
Copyright © 2003–2021 Atlassian. All rights reserved.