Class AsyncNoBundler

  • All Implemented Interfaces:
    Bundler

    public class AsyncNoBundler
    extends NoBundler
    Simple and stupid async version of NoBundler. The main purpose is for a send() to return immediately, so delivery of a message which itself sends a message is fast.
    Since:
    4.0.4
    Author:
    Bela Ban
    • Field Detail

      • max_threads

        protected int max_threads
      • thread_pool

        protected final java.util.concurrent.ThreadPoolExecutor thread_pool
    • Constructor Detail

      • AsyncNoBundler

        public AsyncNoBundler()
    • Method Detail

      • send

        public void send​(Message msg)
                  throws java.lang.Exception
        Specified by:
        send in interface Bundler
        Overrides:
        send in class NoBundler
        Throws:
        java.lang.Exception