org.apache.hadoop.hdfs.server.common
Class UpgradeObjectCollection

java.lang.Object
  extended by org.apache.hadoop.hdfs.server.common.UpgradeObjectCollection

@InterfaceAudience.Private
public class UpgradeObjectCollection
extends Object

Collection of upgrade objects. Upgrade objects should be registered here before they can be used.


Constructor Summary
UpgradeObjectCollection()
           
 
Method Summary
static SortedSet<Upgradeable> getDistributedUpgrades(int versionFrom, HdfsConstants.NodeType type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeObjectCollection

public UpgradeObjectCollection()
Method Detail

getDistributedUpgrades

public static SortedSet<Upgradeable> getDistributedUpgrades(int versionFrom,
                                                            HdfsConstants.NodeType type)
                                                     throws IOException
Throws:
IOException


Copyright © 2009 The Apache Software Foundation