public abstract class AbstractDatabaseUpdater extends Updater
Updater.ObservableInfo, Updater.ObservableInfoContainer| Modifier and Type | Field and Description |
|---|---|
static long |
KEEP_ENTRY_FACTOR
Keep all entries KEEP_ENTRY_FACTOR times of the update interval, even if the InfoService
does not hold this object any longer.
|
| Constructor and Description |
|---|
AbstractDatabaseUpdater(long a_updateInterval,
Updater.ObservableInfo a_observableInfo)
Initializes and starts the database update thread.
|
AbstractDatabaseUpdater(anon.util.Updater.IUpdateInterval a_updateInterval,
Updater.ObservableInfo a_observableInfo)
Initializes and starts the database update thread.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getLastUpdate()
Should return Long.MAX_VALUE if no update was done since program start.
|
getUpdatedClass, getUpdateInterval, isFirstUpdateDone, needsUpdate, start, stop, update, update, update, updateAsyncpublic static final long KEEP_ENTRY_FACTOR
public AbstractDatabaseUpdater(long a_updateInterval,
Updater.ObservableInfo a_observableInfo)
public AbstractDatabaseUpdater(anon.util.Updater.IUpdateInterval a_updateInterval,
Updater.ObservableInfo a_observableInfo)
public final long getLastUpdate()
UpdatergetLastUpdate in class UpdaterCopyright © 2023. All rights reserved.