Interface ProcessingTimeServiceFactory

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    @Internal
    public interface ProcessingTimeServiceFactory
    A factory for creating processing time services with a given MailboxExecutor. The factory is usually bound to a specific task.
    • Method Detail

      • createProcessingTimeService

        ProcessingTimeService createProcessingTimeService​(MailboxExecutor mailboxExecutor)
        Creates a new processing time service with the mailbox executor. The mailbox executor is used to defer the ProcessingTimeCallback of the timer registered with the ProcessingTimeService to mailbox for execution.