
public class StatusDataPersister extends BatchPersister<Object[]> implements org.lsst.ccs.messaging.StatusMessageListener, org.lsst.ccs.framework.HasLifecycle, org.lsst.ccs.messaging.AgentPresenceListener
alertService| Constructor and Description |
|---|
StatusDataPersister() |
| Modifier and Type | Method and Description |
|---|---|
void |
build() |
void |
connecting(org.lsst.ccs.bus.data.AgentInfo ai) |
void |
disconnecting(org.lsst.ccs.bus.data.AgentInfo ai) |
StatDataPersister |
getStatAccumulator() |
static List<StatDesc> |
getStatDescs(DataDesc dd,
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,
Session sess)
Here is where the dataDescs must be resolved.
|
void |
start() |
addToQueue, canClearAlert, runclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void build()
build in interface org.lsst.ccs.framework.HasLifecyclepublic void init()
init in interface org.lsst.ccs.framework.HasLifecyclepublic void start()
start in interface org.lsst.ccs.framework.HasLifecyclepublic void connecting(org.lsst.ccs.bus.data.AgentInfo ai)
connecting 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 StatDataPersister getStatAccumulator()
public void persist(Object[] obj, Session sess)
persist in class BatchPersister<Object[]>obj - sess - Copyright © 2018 LSST. All rights reserved.