public static ConfigHistory load(File root,DBInstanceInfo db){
  File f=new File(root,db.getDbGroupName() + "_" + db.getHostName()+ "_"+ db.getPort()+ ".cnf");
  if (!f.exists())   return null;
  FileInputStream in=null;
  try {
    in=new FileInputStream(f);
    ConfigHistory ch=new ConfigHistory();
    ch.read(in);
    return ch;
  }
 catch (  Exception ex) {
  }
 finally {
    if (in != null)     try {
      in.close();
    }
 catch (    Exception ex) {
    }
  }
  return null;
}

public static ConfigHistory load ( File root , DBInstanceInfo db ) { File f = new File ( root , db . getDbGroupName ( ) + "_" + db . getHostName ( ) + "_" + db . getPort ( ) + ".cnf" ) ; if ( ! f . exists ( ) ) return null ; FileInputStream in = null ; try { in = new FileInputStream ( f ) ; ConfigHistory ch = new ConfigHistory ( ) ; ch . read ( in ) ; return ch ; } catch ( Exception ex ) { } finally { if ( in != null ) try { in . close ( ) ; } catch ( Exception ex ) { } } return null ; }
load config history data for specified db
