
public class MonitorUpdateTask extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
forceDataPublicationOnNextUpdates(int nUpdates)
Force data publication for the next N times the periodic thread triggers
the monitor updates.
|
List<Channel> |
getAllChannels() |
Set<String> |
getAllGroups() |
List<Channel> |
getChannelsForDeviceGroup(Device device,
String group) |
Set<Device> |
getDevices() |
Set<String> |
getGroupsForDevice(Device device) |
String |
getName() |
void |
monitorPublish()
Invoked by the publish thread to schedule a publication in the next
periodic update cycle.
|
void |
monitorUpdate()
This method is called by the periodic thread to trigger an update
of the Channels in this task.
|
Future<Void> |
pausePeriodicUpdate()
Pause the updating of the Channels on the periodic update thread.
|
void |
resumePeriodicUpdate()
Resume the reading of the Channels on the periodic update thread.
|
Future<Void> |
scheduleUpdateAndPublishNow()
Invoke a monitor update cycle now along with the publication of all its
data.
|
String |
toString() |
public void monitorPublish()
public void forceDataPublicationOnNextUpdates(int nUpdates)
nUpdates - public Future<Void> scheduleUpdateAndPublishNow()
public void monitorUpdate()
public Future<Void> pausePeriodicUpdate()
public void resumePeriodicUpdate()
public String getName()
public List<Channel> getChannelsForDeviceGroup(Device device, String group)
Copyright © 2021 LSST. All rights reserved.