ReplicaChunk¶
- class lsst.dax.apdb.ReplicaChunk(id: int, last_update_time: Time, unique_id: UUID)¶
Bases:
objectClass used for identification of replication chunks.
Instances of this class are used to identify the units of transfer from APDB to PPDB. Usually single
ReplicaChunkcorresponds to multiple consecutive calls toApdb.storemethod.Every
storewith the sameidvalue will updateunique_idwith some unique value so that it can be verified on PPDB side.Methods Summary
make_replica_chunk(last_update_time, ...)Generate new unique insert identifier.
Methods Documentation
- classmethod make_replica_chunk(last_update_time: Time, chunk_window_seconds: int) ReplicaChunk¶
Generate new unique insert identifier.