Enum OMLayoutFeature
- All Implemented Interfaces:
Serializable,Comparable<OMLayoutFeature>,org.apache.hadoop.ozone.upgrade.LayoutFeature,org.apache.hadoop.ozone.Versioned
public enum OMLayoutFeature
extends Enum<OMLayoutFeature>
implements org.apache.hadoop.ozone.upgrade.LayoutFeature
List of OM Layout features / versions.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.hadoop.ozone.upgrade.LayoutFeature
org.apache.hadoop.ozone.upgrade.LayoutFeature.UpgradeAction<T>, org.apache.hadoop.ozone.upgrade.LayoutFeature.UpgradeActionType -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionaction(org.apache.hadoop.ozone.upgrade.LayoutFeature.UpgradeActionType phase) voidaddAction(org.apache.hadoop.ozone.upgrade.LayoutFeature.UpgradeActionType type, OmUpgradeAction action) intstatic OMLayoutFeatureReturns the enum constant of this type with the specified name.static OMLayoutFeature[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.apache.hadoop.ozone.upgrade.LayoutFeature
name, version
-
Enum Constant Details
-
INITIAL_VERSION
-
ERASURE_CODED_STORAGE_SUPPORT
-
BUCKET_LAYOUT_SUPPORT
-
MULTITENANCY_SCHEMA
-
HSYNC
Deprecated. -
FILESYSTEM_SNAPSHOT
-
QUOTA
-
HBASE_SUPPORT
-
DELEGATION_TOKEN_SYMMETRIC_SIGN
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
layoutVersion
public int layoutVersion()- Specified by:
layoutVersionin interfaceorg.apache.hadoop.ozone.upgrade.LayoutFeature
-
description
- Specified by:
descriptionin interfaceorg.apache.hadoop.ozone.upgrade.LayoutFeature
-
addAction
public void addAction(org.apache.hadoop.ozone.upgrade.LayoutFeature.UpgradeActionType type, OmUpgradeAction action) -
action
public Optional<OmUpgradeAction> action(org.apache.hadoop.ozone.upgrade.LayoutFeature.UpgradeActionType phase) - Specified by:
actionin interfaceorg.apache.hadoop.ozone.upgrade.LayoutFeature
-