public class StatDataPersister extends SlowBatchPersister<StatData>
StatData related entities.
This persister receives clumps of statistical data bins to store in the
database every 5/30 mins.
Its purpose is to spread out the ingestion of these entities as not to affect
the ingestion of raw data.alertService, ingQueueSize, ingThreadsPoolSize, log, periodicTaskService, rq| Constructor and Description |
|---|
StatDataPersister() |
| Modifier and Type | Method and Description |
|---|---|
void |
flush(Session sess)
Persists all the cached statistical data.
|
void |
persist(StatData statData,
Session sess)
Called from inside an open transaction.
|
addToQueue, build, getBatchProcessingPeriod, init, newFixedThreadPoolBoundedQueue, run, shutdownpublic void persist(StatData statData, Session sess)
BatchPersisterpersist in class BatchPersister<StatData>public void flush(Session sess)
sess - Copyright © 2024 LSST. All rights reserved.