Interface SenderTaskFactory

    • Method Detail

      • createSenderTasks

        <T> Collection<SenderTask<T>> createSenderTasks​(@Nonnull
                                                        HandlerKey handlerKey)
        Create a collection of objects for a specified handler key.
        Parameters:
        handlerKey - unique identifier for the handler.
        Returns:
        created tasks.
      • shutdown

        void shutdown()
        Shut down all tasks.
      • shutdown

        void shutdown​(@Nonnull
                      String handle)
        Shut down specific pipeline
        Parameters:
        handle - pipeline's handle
      • drainBuffersToQueue

        void drainBuffersToQueue​(@Nullable
                                 QueueingReason reason)
        Drain memory buffers to queue for all tasks.
        Parameters:
        reason - reason for queueing