Zakelly commented on code in PR #24672:
URL: https://github.com/apache/flink/pull/24672#discussion_r1568659887


##########
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/InternalTimeServiceManager.java:
##########
@@ -51,6 +52,21 @@ <N> InternalTimerService<N> getInternalTimerService(
             TypeSerializer<N> namespaceSerializer,
             Triggerable<K, N> triggerable);
 
+    /**
+     * Creates an {@link InternalTimerServiceAsyncImpl} for handling a group 
of timers identified by
+     * the given {@code name}. The timers are scoped to a key and namespace. 
Mainly used by async
+     * operators.
+     *
+     * <p>Some essential order preservation will be added when the given 
{@link Triggerable} is
+     * invoked.
+     */
+    <N> InternalTimerService<N> getAsyncInternalTimerService(
+            String name,
+            TypeSerializer<K> keySerializer,
+            TypeSerializer<N> namespaceSerializer,
+            Triggerable<K, N> triggerable,
+            AsyncExecutionController asyncExecutionController);

Review Comment:
   It is better to provide the type parameter `K` from here and any other 
methods of this class.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to