Package google.registry.rde
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
run()
void
runWithLock
(org.joda.time.DateTime watermark) Performs task logic while the lock is held.
-
Field Details
-
PATH
- See Also:
-
-
Method Details
-
run
public void run() -
runWithLock
Description copied from interface:google.registry.rde.EscrowTaskRunner.EscrowTask
Performs task logic while the lock is held.- Specified by:
runWithLock
in interfacegoogle.registry.rde.EscrowTaskRunner.EscrowTask
- Parameters:
watermark
- the logical time for a point-in-time view of the database.- Throws:
Exception
-