Public Member Functions | |
| ReplicaChunk | make_replica_chunk (cls, astropy.time.Time last_update_time, int chunk_window_seconds) |
| str | __str__ (self) |
Static Public Attributes | |
| astropy | last_update_time .time.Time |
| uuid | unique_id .UUID |
Class used for identification of replication chunks. Instances of this class are used to identify the units of transfer from APDB to PPDB. Usually single `ReplicaChunk` corresponds to multiple consecutive calls to `Apdb.store` method. Every ``store`` with the same ``id`` value will update ``unique_id`` with some unique value so that it can be verified on PPDB side.
| ReplicaChunk lsst.dax.apdb.apdbReplica.ReplicaChunk.make_replica_chunk | ( | cls, | |
| astropy.time.Time | last_update_time, | ||
| int | chunk_window_seconds ) |
Generate new unique insert identifier.