Package google.registry.beam.comparedb
Class LatestDatastoreSnapshotFinder
- java.lang.Object
-
- google.registry.beam.comparedb.LatestDatastoreSnapshotFinder
-
public class LatestDatastoreSnapshotFinder extends java.lang.Object
Finds the necessary information for loading the most recent Datastore snapshot.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LatestDatastoreSnapshotFinder.DatastoreSnapshotInfo
Holds information about a Datastore snapshot.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCommitLogDir()
LatestDatastoreSnapshotFinder.DatastoreSnapshotInfo
getSnapshotInfo(org.joda.time.Instant exportEndTimeUpperBound)
Finds information of the most recent Datastore snapshot that ends strictly beforeexportEndTimeUpperBound
, including the GCS folder of the exported data files and the start and stop times of the export.
-
-
-
Method Detail
-
getSnapshotInfo
public LatestDatastoreSnapshotFinder.DatastoreSnapshotInfo getSnapshotInfo(org.joda.time.Instant exportEndTimeUpperBound)
Finds information of the most recent Datastore snapshot that ends strictly beforeexportEndTimeUpperBound
, including the GCS folder of the exported data files and the start and stop times of the export. The folder of the CommitLogs is also included in the return.
-
getCommitLogDir
public java.lang.String getCommitLogDir()
-
-