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.CleanupOptions| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.util.concurrent.RetryStrategy |
createRetryStrategy(org.apache.flink.configuration.Configuration configuration)
Creates the
RetryStrategy instance based on the passed Configuration. |
static CleanupRetryStrategyFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CleanupRetryStrategyFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CleanupRetryStrategyFactory INSTANCE
public static CleanupRetryStrategyFactory[] values()
for (CleanupRetryStrategyFactory c : CleanupRetryStrategyFactory.values()) System.out.println(c);
public static CleanupRetryStrategyFactory valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic org.apache.flink.util.concurrent.RetryStrategy createRetryStrategy(org.apache.flink.configuration.Configuration configuration)
RetryStrategy instance based on the passed Configuration.Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.