code: public static synchronized void initEventHandlerInstance(int maxEntries,
                                                             int flushPeriodMs)
    {
      if (eventHandler.get() == null)
      {
        eventHandler.set(new EventHandler(maxEntries, flushPeriodMs));
      }
      //eventHandler.startFlusher();
    }
docs: Initializes the common eventHandler instance for all sessions/threads
  
  @param maxEntries    - maximum number of buffered events before flush
  @param flushPeriodMs - period of time between asynchronous buffer flushes