code: public synchronized boolean handleChangedFile(ChangedFile changedFile) {
          File watchDir = getWatchDir(changedFile.getFile());
          SyncWorker worker = new SyncWorker(changedFile, watchDir, endpoint);
  
          try {
              addToWorkerList(worker);
              workerPool.execute(worker);
              return true;
          } catch (RejectedExecutionException e) {
              workerList.remove(worker);
              return false;
          }
      }
docs: Notifies the SyncManager that a file has changed
  
  @param changedFile the changed file
  @returns true if file accepted for processing, false otherwise