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 Summary

    Modifier and Type
    Method
    Description
    createProcessingTimeService(org.apache.flink.api.common.operators.MailboxExecutor mailboxExecutor)
    Creates a new processing time service with the mailbox executor.
  • Method Details

    • createProcessingTimeService

      ProcessingTimeService createProcessingTimeService(org.apache.flink.api.common.operators.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.