Class DefaultCompletedCheckpointStoreUtils

    • Method Detail

      • getMaximumNumberOfRetainedCheckpoints

        public static int getMaximumNumberOfRetainedCheckpoints​(org.apache.flink.configuration.Configuration config,
                                                                org.slf4j.Logger logger)
        Extracts maximum number of retained checkpoints configuration from the passed Configuration. The default value is used as a fallback if the passed value is a value larger than 0.
        Parameters:
        config - The configuration that is accessed.
        logger - The Logger used for exposing the warning if the configured value is invalid.
        Returns:
        The maximum number of retained checkpoints based on the passed Configuration.