Samrat002 commented on code in PR #27921:
URL: https://github.com/apache/flink/pull/27921#discussion_r3223409270


##########
flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinator.java:
##########
@@ -1999,6 +1999,21 @@ public long getCheckpointTimeout() {
         return checkpointTimeout;
     }
 
+    /**
+     * Returns {@code -1} if a checkpoint is already in flight, otherwise the 
remaining time (in ms)
+     * until {@code minPauseBetweenCheckpoints} is satisfied ({@code 0} = 
trigger now). All checks
+     * are made under the coordinator lock.
+     */
+    public long getActiveCheckpointTriggerDelay() {

Review Comment:
   Yeah, more precise than Long and a suitable datatype 👍🏻 
   i have made changes PTAL



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to