lsst.dax.apdb g9290983e33+165d8ad773
Loading...
Searching...
No Matches
lsst.dax.apdb.apdbReplica.ReplicaChunk Class Reference

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

Detailed Description

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.

Member Function Documentation

◆ make_replica_chunk()

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.

The documentation for this class was generated from the following file:
  • python/lsst/dax/apdb/apdbReplica.py