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 givenMailboxExecutor
. The factory is usually bound to a specific task.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProcessingTimeService
createProcessingTimeService(MailboxExecutor mailboxExecutor)
Creates a new processing time service with the mailbox executor.
-
-
-
Method Detail
-
createProcessingTimeService
ProcessingTimeService createProcessingTimeService(MailboxExecutor mailboxExecutor)
Creates a new processing time service with the mailbox executor. The mailbox executor is used to defer theProcessingTimeCallback
of the timer registered with theProcessingTimeService
to mailbox for execution.
-
-