public static enum MiniClusterJobClient.JobFinalizationBehavior extends Enum<MiniClusterJobClient.JobFinalizationBehavior>
MiniClusterJobClient
when the job finishes.Enum Constant and Description |
---|
NOTHING
Don't do anything when the job finishes.
|
SHUTDOWN_CLUSTER
Shut down the
MiniCluster when the job finishes. |
Modifier and Type | Method and Description |
---|---|
static MiniClusterJobClient.JobFinalizationBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MiniClusterJobClient.JobFinalizationBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MiniClusterJobClient.JobFinalizationBehavior SHUTDOWN_CLUSTER
MiniCluster
when the job finishes.public static final MiniClusterJobClient.JobFinalizationBehavior NOTHING
public static MiniClusterJobClient.JobFinalizationBehavior[] values()
for (MiniClusterJobClient.JobFinalizationBehavior c : MiniClusterJobClient.JobFinalizationBehavior.values()) System.out.println(c);
public static MiniClusterJobClient.JobFinalizationBehavior 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 nullCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.