lsst.dax.apdb g864b0138d7+aa38e45daa
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
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

int id
 
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: