/[projects]/dao/FuldDaekningWorker/src/dk/daoas/fulddaekning/LookupMain.java
ViewVC logotype

Diff of /dao/FuldDaekningWorker/src/dk/daoas/fulddaekning/LookupMain.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2586 by torben, Sun Jun 14 14:34:50 2015 UTC revision 2587 by torben, Sun Jun 14 14:54:10 2015 UTC
# Line 80  public class LookupMain { Line 80  public class LookupMain {
80                                    
81                  boolean testRun= false;                  boolean testRun= false;
82                                    
83                    int antalFundne = 0;
84                    
85                                    
86                  long start = System.currentTimeMillis();                  long start = System.currentTimeMillis();
87                                    
# Line 123  public class LookupMain { Line 125  public class LookupMain {
125                                                  logger.fine("(" +workerId + ") Bedste: " + qAdresse + "==>" + result.bedsteAdr + " ::: " + result.bedsteAfstand );                                                  logger.fine("(" +workerId + ") Bedste: " + qAdresse + "==>" + result.bedsteAdr + " ::: " + result.bedsteAfstand );
126                                          }                                          }
127                                                                                    
128                                            antalFundne++;
129                                            
130                                          try {                                          try {
131                                                  db.gemResultat(qAdresse, result.bedsteAdr, result.bedsteAfstand);                                                  db.gemResultat(qAdresse, result.bedsteAdr, result.bedsteAfstand);
132                                          } catch (SQLException e) {                                          } catch (SQLException e) {
# Line 169  public class LookupMain { Line 173  public class LookupMain {
173                                    
174    
175                  logger.info("Fuld load done : " + formatMilliSeconds(elapsed) );                  logger.info("Fuld load done : " + formatMilliSeconds(elapsed) );
176                    logger.info("Antal daekkede : " + alleDaekkedeAdresser.size() );
177                    logger.info("Antal ikke-daekkede : " + ikkeDaekkede.length );
178                    logger.info("Heraf, antal fundne : " + antalFundne );
179                    logger.info("Fandt adresser til : " + (antalFundne*100.0)/ikkeDaekkede.length + "%" );
180          }          }
181    
182                    

Legend:
Removed from v.2586  
changed lines
  Added in v.2587

  ViewVC Help
Powered by ViewVC 1.1.20