private void rememberUriUsed(String uri) {
   if (isStorageLimited() == true) {
     final Persistence.UriUsage uriUsage = uriUsages.get(uri);
     uriUsage.accessed();
     if (log.isDebugEnabled()) {
       log.debug(
           "The URI '" + uri + "' has been accessed " + uriUsage.getAccessCount() + " time(s)");
     }
   }
 }
 private void registerUri(String uri, String filePath) {
   Persistence.UriUsage uriUsage;
   synchronized (uriUsages) {
     uriUsage = uriUsages.get(uri);
     if (uriUsage == null) {
       uriUsage = new Persistence.UriUsage(filePath, uri);
       uriUsage.accessed();
       uriUsages.put(uri, uriUsage);
       properties.put(uri, filePath);
       fileIndexNeedsSaving = true;
       if (log.isDebugEnabled()) {
         log.debug("Registered the URI '" + uri + "' with the file '" + filePath + "'");
       }
     }
   }
 }