Class VersionUpgradeHelper


  • public class VersionUpgradeHelper
    extends java.lang.Object
    • Field Detail

      • LOG

        public static final org.apache.commons.logging.Log LOG
    • Constructor Detail

      • VersionUpgradeHelper

        public VersionUpgradeHelper​(KvClientInterface kvClnt,
                                    java.lang.String compName)
    • Method Detail

      • getCurrentVersion

        public java.lang.String getCurrentVersion()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • isUpgradeDone

        public boolean isUpgradeDone()
      • reInitMetadataInfo

        public void reInitMetadataInfo​(java.util.List<java.lang.String> potentialVersionList)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • initMetadataInfo

        public void initMetadataInfo​(java.util.List<java.lang.String> inVersionList)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createAndOpenMetadataPath

        public void createAndOpenMetadataPath​(boolean create)
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • upgradeMetadataVersion

        public void upgradeMetadataVersion()
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception