public class StatusPersister extends FastBatchPersister<Object[]> implements org.lsst.ccs.messaging.StatusMessageListener, org.lsst.ccs.messaging.AgentPresenceListener
alertService, ingQueueSize, ingThreadsPoolSize, log, periodicTaskService, rq| Constructor and Description |
|---|
StatusPersister() |
| Modifier and Type | Method and Description |
|---|---|
void |
connecting(org.lsst.ccs.bus.data.AgentInfo... agents) |
void |
disconnected(org.lsst.ccs.bus.data.AgentInfo... agents) |
void |
init() |
void |
onStatusMessage(org.lsst.ccs.bus.messages.StatusMessage msg) |
void |
persist(Object[] obj,
Session sess)
Called from inside a transaction.
|
void |
start() |
buildaddToQueue, getBatchProcessingPeriod, newFixedThreadPoolBoundedQueue, run, shutdownclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void init()
init in interface org.lsst.ccs.framework.HasLifecycleinit in class BatchPersister<Object[]>public void start()
start in interface org.lsst.ccs.framework.HasLifecyclepublic void onStatusMessage(org.lsst.ccs.bus.messages.StatusMessage msg)
onStatusMessage in interface org.lsst.ccs.messaging.StatusMessageListenerpublic void connecting(org.lsst.ccs.bus.data.AgentInfo... agents)
connecting in interface org.lsst.ccs.messaging.AgentPresenceListenerpublic void disconnected(org.lsst.ccs.bus.data.AgentInfo... agents)
disconnected in interface org.lsst.ccs.messaging.AgentPresenceListenerpublic void persist(Object[] obj, Session sess)
persist in class BatchPersister<Object[]>obj - sess - Copyright © 2023 LSST. All rights reserved.