Enum CleanupRetryStrategyFactory

java.lang.Object
java.lang.Enum<CleanupRetryStrategyFactory>
org.apache.flink.runtime.dispatcher.cleanup.CleanupRetryStrategyFactory
All Implemented Interfaces:
Serializable, Comparable<CleanupRetryStrategyFactory>

public enum CleanupRetryStrategyFactory extends Enum<CleanupRetryStrategyFactory>
CleanupRetryStrategyFactory is used to create the RetryStrategy for the DispatcherResourceCleanerFactory. It extracts all the necessary information from the passed Configuration.
See Also:
  • CleanupOptions
  • Enum Constant Details

  • Method Details

    • values

      public static CleanupRetryStrategyFactory[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static CleanupRetryStrategyFactory valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • createRetryStrategy

      public org.apache.flink.util.concurrent.RetryStrategy createRetryStrategy(org.apache.flink.configuration.Configuration configuration)
      Creates the RetryStrategy instance based on the passed Configuration.