| Modifier and Type | Class | Description |
|---|---|---|
static class |
LayoutVersion.Feature |
Enums for features that change the layout version before rolling
upgrade is supported.
|
| Modifier and Type | Method | Description |
|---|---|---|
LayoutVersion.LayoutFeature[] |
LayoutVersion.FeatureInfo.getSpecialFeatures() |
| Modifier and Type | Method | Description |
|---|---|---|
static int |
LayoutVersion.getCurrentLayoutVersion(LayoutVersion.LayoutFeature[] features) |
Get the current layout version
|
static int |
LayoutVersion.getMinimumCompatibleLayoutVersion(LayoutVersion.LayoutFeature[] features) |
Gets the minimum compatible layout version.
|
java.lang.String |
LayoutVersion.getString(java.util.Map<java.lang.Integer,java.util.SortedSet<LayoutVersion.LayoutFeature>> map,
LayoutVersion.LayoutFeature[] values) |
Gets formatted string that describes
LayoutVersion information. |
static boolean |
LayoutVersion.supports(java.util.Map<java.lang.Integer,java.util.SortedSet<LayoutVersion.LayoutFeature>> map,
LayoutVersion.LayoutFeature f,
int lv) |
Returns true if a given feature is supported in the given layout version
|
static void |
LayoutVersion.updateMap(java.util.Map<java.lang.Integer,java.util.SortedSet<LayoutVersion.LayoutFeature>> map,
LayoutVersion.LayoutFeature[] features) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
LayoutVersion.getString(java.util.Map<java.lang.Integer,java.util.SortedSet<LayoutVersion.LayoutFeature>> map,
LayoutVersion.LayoutFeature[] values) |
Gets formatted string that describes
LayoutVersion information. |
static boolean |
LayoutVersion.supports(java.util.Map<java.lang.Integer,java.util.SortedSet<LayoutVersion.LayoutFeature>> map,
LayoutVersion.LayoutFeature f,
int lv) |
Returns true if a given feature is supported in the given layout version
|
static void |
LayoutVersion.updateMap(java.util.Map<java.lang.Integer,java.util.SortedSet<LayoutVersion.LayoutFeature>> map,
LayoutVersion.LayoutFeature[] features) |
| Constructor | Description |
|---|---|
FeatureInfo(int lv,
int ancestorLV,
java.lang.Integer minCompatLV,
java.lang.String description,
boolean reserved,
LayoutVersion.LayoutFeature... specialFeatures) |
|
FeatureInfo(int lv,
int ancestorLV,
java.lang.String description,
boolean reserved,
LayoutVersion.LayoutFeature... specialFeatures) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<java.lang.Integer,java.util.SortedSet<LayoutVersion.LayoutFeature>> |
StorageInfo.getServiceLayoutFeatureMap() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
StorageInfo.versionSupportsFederation(java.util.Map<java.lang.Integer,java.util.SortedSet<LayoutVersion.LayoutFeature>> map) |
| Modifier and Type | Class | Description |
|---|---|---|
static class |
DataNodeLayoutVersion.Feature |
Enums for features that change the layout version.
|
| Modifier and Type | Field | Description |
|---|---|---|
static java.util.Map<java.lang.Integer,java.util.SortedSet<LayoutVersion.LayoutFeature>> |
DataNodeLayoutVersion.FEATURES |
Build layout version and corresponding feature matrix
|
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.SortedSet<LayoutVersion.LayoutFeature> |
DataNodeLayoutVersion.getFeatures(int lv) |
| Modifier and Type | Method | Description |
|---|---|---|
static boolean |
DataNodeLayoutVersion.supports(LayoutVersion.LayoutFeature f,
int lv) |
| Modifier and Type | Class | Description |
|---|---|---|
static class |
NameNodeLayoutVersion.Feature |
Enums for features that change the layout version.
|
| Modifier and Type | Field | Description |
|---|---|---|
static java.util.Map<java.lang.Integer,java.util.SortedSet<LayoutVersion.LayoutFeature>> |
NameNodeLayoutVersion.FEATURES |
Build layout version and corresponding feature matrix
|
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.SortedSet<LayoutVersion.LayoutFeature> |
NameNodeLayoutVersion.getFeatures(int lv) |
| Modifier and Type | Method | Description |
|---|---|---|
static boolean |
NameNodeLayoutVersion.supports(LayoutVersion.LayoutFeature f,
int lv) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.