
public class StatusPersister extends BatchPersister<Object[]> implements org.lsst.ccs.messaging.StatusMessageListener, org.lsst.ccs.messaging.AgentPresenceListener, org.lsst.ccs.framework.HasLifecycle
alertService| Constructor and Description |
|---|
StatusPersister() |
| Modifier and Type | Method and Description |
|---|---|
void |
build() |
void |
connecting(org.lsst.ccs.bus.data.AgentInfo... agents)
AgentPresenceListener callback methods.
|
void |
disconnecting(org.lsst.ccs.bus.data.AgentInfo agent)
The active alerts for the disconnecting agent are pushed to history.
|
void |
onStatusMessage(org.lsst.ccs.bus.messages.StatusMessage msg) |
void |
persist(Object[] obj,
Session sess)
Called from inside a transaction.
|
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 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.AgentPresenceListeneragent - public void disconnecting(org.lsst.ccs.bus.data.AgentInfo agent)
disconnecting in interface org.lsst.ccs.messaging.AgentPresenceListeneragent - public void persist(Object[] obj, Session sess)
persist in class BatchPersister<Object[]>obj - sess - Copyright © 2019 LSST. All rights reserved.