Class InternalTimerServiceAsyncImpl<K,​N>

    • Method Detail

      • foreachTimer

        protected void foreachTimer​(org.apache.flink.util.function.BiConsumerWithException<N,​Long,​Exception> consumer,
                                    org.apache.flink.runtime.state.KeyGroupedInternalPriorityQueue<TimerHeapInternalTimer<K,​N>> queue)
                             throws Exception
        Iterator each timer in the queue, and invoke the consumer. This function is mainly used by state-processor-API. TODO: Ensure state-processor-API that only uses sync state API.
        Overrides:
        foreachTimer in class InternalTimerServiceImpl<K,​N>
        Throws:
        Exception