Class RdeUploadAction

java.lang.Object
google.registry.rde.RdeUploadAction
All Implemented Interfaces:
google.registry.rde.EscrowTaskRunner.EscrowTask, Runnable

public final class RdeUploadAction extends Object implements Runnable, google.registry.rde.EscrowTaskRunner.EscrowTask
Action that securely uploads an RDE XML file from Cloud Storage to a trusted third party (such as Iron Mountain) via SFTP.

This action is invoked by RdeStagingAction once it's created the files we need. The date is calculated from Cursor.CursorType.RDE_UPLOAD.

Once this action completes, it rolls the cursor forward a day and triggers RdeReportAction.

  • Field Details

  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • runWithLock

      public void runWithLock(org.joda.time.DateTime watermark) throws Exception
      Description copied from interface: google.registry.rde.EscrowTaskRunner.EscrowTask
      Performs task logic while the lock is held.
      Specified by:
      runWithLock in interface google.registry.rde.EscrowTaskRunner.EscrowTask
      Parameters:
      watermark - the logical time for a point-in-time view of the database.
      Throws:
      Exception