public void syncStatsFileWithMap(Map var1) {
      int var2 = 30;

      while(this.isBusy) {
         --var2;
         if(var2 <= 0) {
            break;
         }

         try {
            Thread.sleep(100L);
         } catch (InterruptedException var10) {
            var10.printStackTrace();
         }
      }

      this.isBusy = true;

      try {
         this.func_27410_a(var1, this.unsentDataFile, this.unsentTempFile, this.unsentOldFile);
      } catch (Exception var8) {
         var8.printStackTrace();
      } finally {
         this.isBusy = false;
      }

   }