Package alluxio.conf
Enum Source.Type
- java.lang.Object
-
- java.lang.Enum<Source.Type>
-
- alluxio.conf.Source.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Source.Type>
- Enclosing class:
- Source
public static enum Source.Type extends java.lang.Enum<Source.Type>
Source type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLUSTER_DEFAULT
The default property value as loaded from the masters of the cluster.DEFAULT
The default property value fromPropertyKey
on compile time.MOUNT_OPTION
The property value is specified as options for a mount point.PATH_DEFAULT
The property value is specified as path level defaults through command line.RUNTIME
The property value is set by user during runtime (e.g., Configuration.set or through HadoopConf).SITE_PROPERTY
The property value is specified in site properties file (alluxio-site.properties).SYSTEM_PROPERTY
The property value is specified with JVM -D options before passed to Alluxio.UNKNOWN
The unknown source which has the lowest priority.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Source.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Source.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final Source.Type UNKNOWN
The unknown source which has the lowest priority.
-
DEFAULT
public static final Source.Type DEFAULT
The default property value fromPropertyKey
on compile time.
-
CLUSTER_DEFAULT
public static final Source.Type CLUSTER_DEFAULT
The default property value as loaded from the masters of the cluster.
-
SITE_PROPERTY
public static final Source.Type SITE_PROPERTY
The property value is specified in site properties file (alluxio-site.properties).
-
SYSTEM_PROPERTY
public static final Source.Type SYSTEM_PROPERTY
The property value is specified with JVM -D options before passed to Alluxio.
-
PATH_DEFAULT
public static final Source.Type PATH_DEFAULT
The property value is specified as path level defaults through command line.
-
RUNTIME
public static final Source.Type RUNTIME
The property value is set by user during runtime (e.g., Configuration.set or through HadoopConf).
-
MOUNT_OPTION
public static final Source.Type MOUNT_OPTION
The property value is specified as options for a mount point. This source has the highest priority.
-
-
Method Detail
-
values
public static Source.Type[] 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 (Source.Type c : Source.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Source.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-