@InterfaceAudience.Private @InterfaceStability.Unstable public enum S3AInputPolicy extends Enum<S3AInputPolicy>
| Enum Constant and Description |
|---|
Normal |
Random |
Sequential |
| Modifier and Type | Method and Description |
|---|---|
static S3AInputPolicy |
getPolicy(String name)
Choose an FS access policy.
|
String |
toString() |
static S3AInputPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static S3AInputPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final S3AInputPolicy Normal
public static final S3AInputPolicy Sequential
public static final S3AInputPolicy Random
public static S3AInputPolicy[] values()
for (S3AInputPolicy c : S3AInputPolicy.values()) System.out.println(c);
public static S3AInputPolicy 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 String toString()
toString in class Enum<S3AInputPolicy>public static S3AInputPolicy getPolicy(String name)
name - strategy name from a configuration option, etc.Copyright © 2008–2021 Apache Software Foundation. All rights reserved.