public enum CheckpointResourcesCleanupRunnerFactory extends Enum<CheckpointResourcesCleanupRunnerFactory> implements CleanupRunnerFactory
CheckpointResourcesCleanupRunnerFactory
implements CleanupRunnerFactory
providing
a factory method for creating CheckpointResourcesCleanupRunner
instances.Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
CheckpointResourcesCleanupRunner |
create(JobResult jobResult,
CheckpointRecoveryFactory checkpointRecoveryFactory,
Configuration configuration,
Executor cleanupExecutor) |
static CheckpointResourcesCleanupRunnerFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CheckpointResourcesCleanupRunnerFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CheckpointResourcesCleanupRunnerFactory INSTANCE
public static CheckpointResourcesCleanupRunnerFactory[] values()
for (CheckpointResourcesCleanupRunnerFactory c : CheckpointResourcesCleanupRunnerFactory.values()) System.out.println(c);
public static CheckpointResourcesCleanupRunnerFactory 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 CheckpointResourcesCleanupRunner create(JobResult jobResult, CheckpointRecoveryFactory checkpointRecoveryFactory, Configuration configuration, Executor cleanupExecutor)
create
in interface CleanupRunnerFactory
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.