public class StatusDataPersister extends BatchPersister<Object[]> implements org.lsst.ccs.messaging.StatusMessageListener, org.lsst.ccs.messaging.AgentPresenceListener
alertService| Constructor and Description |
|---|
StatusDataPersister() |
| Modifier and Type | Method and Description |
|---|---|
void |
build() |
void |
connected(org.lsst.ccs.bus.data.AgentInfo... agents) |
void |
disconnecting(org.lsst.ccs.bus.data.AgentInfo ai) |
StatDataPersister |
getStatAccumulator() |
static List<StatDesc> |
getStatDescs(DataDesc dd,
org.hibernate.Session sess) |
void |
init()
The constructor initializes entries in StatDesc with regards of existing
entries in DataDesc.
|
void |
onStatusMessage(org.lsst.ccs.bus.messages.StatusMessage s) |
void |
persist(Object[] obj,
org.hibernate.Session sess)
Here is where the dataDescs must be resolved.
|
void |
processEncodedData(String source,
org.lsst.ccs.bus.data.KeyValueDataList encodedData) |
void |
shutdown() |
void |
start() |
void |
updateDataLastUpdate() |
addToQueue, newFixedThreadPoolBoundedQueue, runclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void build()
build in interface org.lsst.ccs.framework.HasLifecyclepublic void updateDataLastUpdate()
public 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 shutdown()
shutdown in interface org.lsst.ccs.framework.HasLifecyclepublic void connected(org.lsst.ccs.bus.data.AgentInfo... agents)
connected in interface org.lsst.ccs.messaging.AgentPresenceListenerpublic void disconnecting(org.lsst.ccs.bus.data.AgentInfo ai)
disconnecting in interface org.lsst.ccs.messaging.AgentPresenceListenerpublic void onStatusMessage(org.lsst.ccs.bus.messages.StatusMessage s)
onStatusMessage in interface org.lsst.ccs.messaging.StatusMessageListenerpublic void processEncodedData(String source, org.lsst.ccs.bus.data.KeyValueDataList encodedData)
public StatDataPersister getStatAccumulator()
public void persist(Object[] obj, org.hibernate.Session sess)
persist in class BatchPersister<Object[]>obj - sess - Copyright © 2021 LSST. All rights reserved.