Exemple #1
0
 private void reload()
 {
     if (reloadLock.tryLock())
     {
         try {
             longToString = buildMapping();
         } catch (IOException ioe) {
             throw new InvalidOperationException(ioe);
         } finally {
             reloadLock.unlock();
         }
     }
 }