Package com.google.cloud.hadoop.util
Enum AsyncWriteChannelOptions.PartFileCleanupType
- java.lang.Object
-
- java.lang.Enum<AsyncWriteChannelOptions.PartFileCleanupType>
-
- com.google.cloud.hadoop.util.AsyncWriteChannelOptions.PartFileCleanupType
-
- All Implemented Interfaces:
Serializable,Comparable<AsyncWriteChannelOptions.PartFileCleanupType>
- Enclosing class:
- AsyncWriteChannelOptions
public static enum AsyncWriteChannelOptions.PartFileCleanupType extends Enum<AsyncWriteChannelOptions.PartFileCleanupType>
Part file cleanup strategy for parallel composite upload.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALWAYSNEVERON_SUCCESS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AsyncWriteChannelOptions.PartFileCleanupTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AsyncWriteChannelOptions.PartFileCleanupType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALWAYS
public static final AsyncWriteChannelOptions.PartFileCleanupType ALWAYS
-
NEVER
public static final AsyncWriteChannelOptions.PartFileCleanupType NEVER
-
ON_SUCCESS
public static final AsyncWriteChannelOptions.PartFileCleanupType ON_SUCCESS
-
-
Method Detail
-
values
public static AsyncWriteChannelOptions.PartFileCleanupType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AsyncWriteChannelOptions.PartFileCleanupType c : AsyncWriteChannelOptions.PartFileCleanupType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AsyncWriteChannelOptions.PartFileCleanupType 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 nameNullPointerException- if the argument is null
-
-