Class ApplicationBusImpl

    • Constructor Detail

      • ApplicationBusImpl

        public ApplicationBusImpl​()
        Constructs the ApplicationBus with the DispatchStrategy being DispatchStrategy.CASCADE when publishing events.
      • ApplicationBusImpl

        public ApplicationBusImpl​(ExecutorService aExecutorService)
        Constructs the ApplicationBus with the DispatchStrategy being DispatchStrategy.CASCADE when publishing events.
        Parameters:
        aExecutorService - The ExecutorService to be used when creating threads.
      • ApplicationBusImpl

        public ApplicationBusImpl​(org.refcodes.eventbus.DispatchStrategy aDispatchStrategy)
        Constructs the ApplicationBus with the given DispatchStrategy when publishing events.
        Parameters:
        aDispatchStrategy - The DispatchStrategy to be used when publishing events.
      • ApplicationBusImpl

        public ApplicationBusImpl​(org.refcodes.eventbus.DispatchStrategy aDispatchStrategy,
                                  ExecutorService aExecutorService)
        Constructs the ApplicationBus with the DispatchStrategy being DispatchStrategy.CASCADE when publishing events.
        Parameters:
        aDispatchStrategy - The DispatchStrategy to be used when publishing events.
        aExecutorService - The ExecutorService to be used when creating threads.
      • ApplicationBusImpl

        public ApplicationBusImpl​(int aCorePoolSize)
        Constructs the ApplicationBus with the DispatchStrategy being DispatchStrategy.CASCADE when publishing events.
        Parameters:
        aCorePoolSize - The number of threads to keep in the pool, even if they are idle.
      • ApplicationBusImpl

        public ApplicationBusImpl​(org.refcodes.eventbus.DispatchStrategy aDispatchStrategy,
                                  int aCorePoolSize)
        Constructs the ApplicationBus with the given DispatchStrategy when publishing events.
        Parameters:
        aCorePoolSize - The number of threads to keep in the pool, even if they are idle.
        aDispatchStrategy - The DispatchStrategy to be used when publishing events.