ReplicaChunk¶
- class lsst.dax.apdb.ReplicaChunk(id: int, last_update_time: Time, unique_id: UUID)¶
Bases:
object
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 toApdb.store
method.Every
store
with the sameid
value will updateunique_id
with 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.