@Private
public class NameNodeLayoutVersion
extends java.lang.Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
NameNodeLayoutVersion.Feature |
Enums for features that change the layout version.
|
| Modifier and Type | Field | Description |
|---|---|---|
static int |
CURRENT_LAYOUT_VERSION |
|
static java.util.Map<java.lang.Integer,java.util.SortedSet<LayoutVersion.LayoutFeature>> |
FEATURES |
Build layout version and corresponding feature matrix
|
static int |
MINIMUM_COMPATIBLE_LAYOUT_VERSION |
| Constructor | Description |
|---|---|
NameNodeLayoutVersion() |
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.SortedSet<LayoutVersion.LayoutFeature> |
getFeatures(int lv) |
|
static boolean |
supports(LayoutVersion.LayoutFeature f,
int lv) |
public static final java.util.Map<java.lang.Integer,java.util.SortedSet<LayoutVersion.LayoutFeature>> FEATURES
public static final int CURRENT_LAYOUT_VERSION
public static final int MINIMUM_COMPATIBLE_LAYOUT_VERSION
public static java.util.SortedSet<LayoutVersion.LayoutFeature> getFeatures(int lv)
public static boolean supports(LayoutVersion.LayoutFeature f, int lv)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.