Class EventMeshHTTPServer

    • Field Detail

      • localConsumerGroupMapping

        public final java.util.concurrent.ConcurrentHashMap<java.lang.String,​ConsumerGroupConf> localConsumerGroupMapping
      • localClientInfoMapping

        public final java.util.concurrent.ConcurrentHashMap<java.lang.String,​java.util.List<Client>> localClientInfoMapping
      • eventBus

        public com.google.common.eventbus.EventBus eventBus
      • batchMsgExecutor

        public java.util.concurrent.ThreadPoolExecutor batchMsgExecutor
      • sendMsgExecutor

        public java.util.concurrent.ThreadPoolExecutor sendMsgExecutor
      • remoteMsgExecutor

        public java.util.concurrent.ThreadPoolExecutor remoteMsgExecutor
      • replyMsgExecutor

        public java.util.concurrent.ThreadPoolExecutor replyMsgExecutor
      • pushMsgExecutor

        public java.util.concurrent.ThreadPoolExecutor pushMsgExecutor
      • clientManageExecutor

        public java.util.concurrent.ThreadPoolExecutor clientManageExecutor
      • adminExecutor

        public java.util.concurrent.ThreadPoolExecutor adminExecutor
      • webhookExecutor

        public java.util.concurrent.ThreadPoolExecutor webhookExecutor
    • Method Detail

      • shutdownThreadPool

        public void shutdownThreadPool()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • initThreadPool

        public void initThreadPool()
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getBatchMsgExecutor

        public java.util.concurrent.ThreadPoolExecutor getBatchMsgExecutor()
      • getSendMsgExecutor

        public java.util.concurrent.ThreadPoolExecutor getSendMsgExecutor()
      • getReplyMsgExecutor

        public java.util.concurrent.ThreadPoolExecutor getReplyMsgExecutor()
      • getPushMsgExecutor

        public java.util.concurrent.ThreadPoolExecutor getPushMsgExecutor()
      • getClientManageExecutor

        public java.util.concurrent.ThreadPoolExecutor getClientManageExecutor()
      • getAdminExecutor

        public java.util.concurrent.ThreadPoolExecutor getAdminExecutor()
      • getMsgRateLimiter

        public com.google.common.util.concurrent.RateLimiter getMsgRateLimiter()
      • getBatchRateLimiter

        public com.google.common.util.concurrent.RateLimiter getBatchRateLimiter()
      • getRegistry

        public Registry getRegistry()
      • init

        public void init()
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • start

        public void start()
                   throws java.lang.Exception
        Overrides:
        start in class AbstractHTTPServer
        Throws:
        java.lang.Exception
      • shutdown

        public void shutdown()
                      throws java.lang.Exception
        Overrides:
        shutdown in class AbstractHTTPServer
        Throws:
        java.lang.Exception
      • register

        public boolean register()
      • registerHTTPRequestProcessor

        public void registerHTTPRequestProcessor()
      • getEventBus

        public com.google.common.eventbus.EventBus getEventBus()