code: public void maybeArchive(final String path, final String name)
      {
          if (Strings.isNullOrEmpty(archiveCommand))
              return;
  
          archivePending.put(name, executor.submit(new WrappedRunnable()
          {
              protected void runMayThrow() throws IOException
              {
                  String command = archiveCommand.replace("%name", name);
                  command = command.replace("%path", path);
                  exec(command);
              }
          }));
      }
docs: Differs from the above because it can be used on any file, rather than only
  managed commit log segments (and thus cannot call waitForFinalSync).
  
  Used to archive files present in the commit log directory at startup (CASSANDRA-6904)