Package alluxio.conf
Class Source
- java.lang.Object
-
- alluxio.conf.Source
-
- All Implemented Interfaces:
java.lang.Comparable<Source>
@PublicApi public class Source extends java.lang.Object implements java.lang.Comparable<Source>
The source of a configuration property. The natural ordering of this class is not consistent with theequals(Object)
method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Source.Type
Source type.
-
Field Summary
Fields Modifier and Type Field Description static Source
CLUSTER_DEFAULT
static Source
DEFAULT
static Source
MOUNT_OPTION
protected Source.Type
mType
static Source
PATH_DEFAULT
static Source
RUNTIME
static Source
SYSTEM_PROPERTY
static Source
UNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Source other)
boolean
equals(java.lang.Object o)
Source.Type
getType()
int
hashCode()
static Source
siteProperty(java.lang.String filename)
Creates a site property source with the specified filename.java.lang.String
toString()
-
-
-
Field Detail
-
UNKNOWN
public static final Source UNKNOWN
-
DEFAULT
public static final Source DEFAULT
-
CLUSTER_DEFAULT
public static final Source CLUSTER_DEFAULT
-
SYSTEM_PROPERTY
public static final Source SYSTEM_PROPERTY
-
PATH_DEFAULT
public static final Source PATH_DEFAULT
-
RUNTIME
public static final Source RUNTIME
-
MOUNT_OPTION
public static final Source MOUNT_OPTION
-
mType
protected final Source.Type mType
-
-
Method Detail
-
getType
public Source.Type getType()
- Returns:
- the type of the source
-
siteProperty
public static Source siteProperty(java.lang.String filename)
Creates a site property source with the specified filename.- Parameters:
filename
- the filename- Returns:
- the source
-
compareTo
public int compareTo(Source other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<Source>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-