Class EventLatchManager


  • 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.
    • Constructor Detail

      • EventLatchManager

        public EventLatchManager()
    • Method Detail

      • removeLatch

        public boolean removeLatch​(Class eventClass)
        Returns:
        true if previous latch value was successfully removed
      • clearAllLatches

        public Collection<Class> clearAllLatches()
        Clear all existing latches, return a collection of all classes for which latches existed.