org.apache.hadoop.hdfs.protocol
Class LayoutVersion.FeatureInfo

java.lang.Object
  extended by org.apache.hadoop.hdfs.protocol.LayoutVersion.FeatureInfo
Enclosing class:
org.apache.hadoop.hdfs.protocol.LayoutVersion

public static class LayoutVersion.FeatureInfo
extends Object

Feature information.


Constructor Summary
LayoutVersion.FeatureInfo(int lv, int ancestorLV, String description, boolean reserved, LayoutVersion.LayoutFeature... specialFeatures)
           
 
Method Summary
 int getAncestorLayoutVersion()
          Accessor method for feature ancestor layout version
 String getDescription()
          Accessor method for feature description
 int getLayoutVersion()
          Accessor method for feature layout version
 LayoutVersion.LayoutFeature[] getSpecialFeatures()
           
 boolean isReservedForOldRelease()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutVersion.FeatureInfo

public LayoutVersion.FeatureInfo(int lv,
                                 int ancestorLV,
                                 String description,
                                 boolean reserved,
                                 LayoutVersion.LayoutFeature... specialFeatures)
Method Detail

getLayoutVersion

public int getLayoutVersion()
Accessor method for feature layout version

Returns:
int lv value

getAncestorLayoutVersion

public int getAncestorLayoutVersion()
Accessor method for feature ancestor layout version

Returns:
int ancestor LV value

getDescription

public String getDescription()
Accessor method for feature description

Returns:
String feature description

isReservedForOldRelease

public boolean isReservedForOldRelease()

getSpecialFeatures

public LayoutVersion.LayoutFeature[] getSpecialFeatures()


Copyright © 2014 Apache Software Foundation. All Rights Reserved.