Package alluxio.conf

Class 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 the equals(Object) method.
    • 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
    • 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 interface java.lang.Comparable<Source>
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object