public final class AutoRefreshManager extends Object
Auto-refreshing is started by calling start(), stopped by calling stop().
updatePreferences() should be called if relevant preferences change.
A singleton of this class maintains an executor for auto-refreshing, and runs a task
on the Agent's scheduler to find plots that require refreshing. For these plots,
LsstTrendingPlugin.refresh(trends) is called on the executor thread.
| Constructor and Description |
|---|
AutoRefreshManager(LsstTrendingPlugin plugin) |
| Modifier and Type | Method and Description |
|---|---|
void |
start()
Starts auto-refreshing.
|
void |
stop()
Stops auto-refreshing.
|
void |
updatePreferences() |
public AutoRefreshManager(LsstTrendingPlugin plugin)
public void start()
public void stop()
public void updatePreferences()
Copyright © 2023 LSST. All rights reserved.