Class LoggingSftpProgressMonitor

java.lang.Object
google.registry.rde.LoggingSftpProgressMonitor
All Implemented Interfaces:
com.jcraft.jsch.SftpProgressMonitor

public class LoggingSftpProgressMonitor extends Object implements com.jcraft.jsch.SftpProgressMonitor
A progress monitor for SFTP operations that writes status to logs periodically.
  • Method Details

    • init

      public void init(int op, String src, String dest, long max)
      Specified by:
      init in interface com.jcraft.jsch.SftpProgressMonitor
    • count

      public boolean count(long count)
      Specified by:
      count in interface com.jcraft.jsch.SftpProgressMonitor
    • end

      public void end()
      Specified by:
      end in interface com.jcraft.jsch.SftpProgressMonitor