Class SysEventQueue

All Implemented Interfaces:
Serializable, Iterable<String>, Collection<String>, BlockingQueue<String>, Queue<String>

public class SysEventQueue extends ArrayBlockingQueue<String>
The SysEventQueue class provides an global JVM in-memory queue for JSON system event messages.
Since:
18.5.0
See Also:
  • Method Details

    • getInstance

      public static SysEventQueue getInstance()
      Get instance of system event queue.
      Returns:
      instance of system event queue
    • addAll

      public boolean addAll(Collection<? extends String> msgs)
      Add all messages to the queue.
      Specified by:
      addAll in interface Collection<String>
      Overrides:
      addAll in class AbstractQueue<String>
      Parameters:
      msgs - the messages to add
      Returns:
      true if messaged added, or false if queue at capacity and messages could not be added