@Override
  public int getThreadPoolSize() {
    return fileCopyBasedReplicationThreadPoolManager.getThreadPoolSize();
  }
Use FileCopyTemporaryDirectoryName to create a temporary directory for file copy.
This will be used to write the files which are not yet written and can be cleaned
up without
ambry-file-transfer/src/main/java/com/github/ambry/filetransfer/FileCopyBasedReplicationSchedulerImpl.java