Package alluxio.master.journal
Enum JournalType
- java.lang.Object
-
- java.lang.Enum<JournalType>
-
- alluxio.master.journal.JournalType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<JournalType>
public enum JournalType extends java.lang.Enum<JournalType>
Enumerates the different types of journals that Alluxio may be configured with.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JournalType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static JournalType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMBEDDED
public static final JournalType EMBEDDED
-
NOOP
public static final JournalType NOOP
-
UFS
public static final JournalType UFS
-
-
Method Detail
-
values
public static JournalType[] 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 (JournalType c : JournalType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JournalType 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
-
-