/** * Dispatch queued events, or directly dispatch received events? * * <p>While reading model information, queue mode should be enabled. Then, after model information * from RDB has been obtained, disable queue mode which also dispatched all the queued up events. * * @param use_queue <code>true</code> to queue */ public void setQueueMode(final boolean use_queue) { this.use_queue = use_queue; if (use_queue) return; // Queuing turned off -> Dispatched what has accumulated until now queue.performQueuedCommands(); }