private static class JMSAcquisition.ConnectionUpdater extends Daemon
Modifier and Type | Field and Description |
---|---|
private boolean |
closing |
private List<JMSAcquisition> |
modules |
private long |
period |
Modifier | Constructor and Description |
---|---|
protected |
ConnectionUpdater(long updatePeriod)
Constructs a
ConnectionUpdater thread. |
Modifier and Type | Method and Description |
---|---|
protected void |
addUpdateListener(JMSAcquisition module) |
void |
close()
Releases the daemon's resources.
|
protected void |
removeUpdateListener(JMSAcquisition module) |
void |
run()
The daemon's loop.
|
void |
shutdown()
Shuts the daemon down.
|
finish, getName, interrupt, isCurrentThread, isRunning, setDaemon, setName, setPriority, setThreadGroup, start, stop, toString
private List<JMSAcquisition> modules
private long period
private boolean closing
protected ConnectionUpdater(long updatePeriod)
ConnectionUpdater
thread.public void run()
protected void addUpdateListener(JMSAcquisition module)
protected void removeUpdateListener(JMSAcquisition module)
Copyright © 2021 ScalAgent D.T.. All rights reserved.