public class ServiceExitAddressUpdater extends AbstractDatabaseUpdater
Updater.ConstantUpdateInterval, Updater.DynamicUpdateInterval, Updater.IUpdateInterval, Updater.ObservableInfo, Updater.ObservableInfoContainer
Modifier and Type | Field and Description |
---|---|
private static long |
MIN_UPDATE_INTERVAL_MS |
private static long |
UPDATE_INTERVAL_MS |
KEEP_ENTRY_FACTOR
Constructor and Description |
---|
ServiceExitAddressUpdater(Updater.ObservableInfo a_observableInfo) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
doCleanup(java.util.Hashtable a_newEntries)
Does some cleanup operations of the database.
|
protected java.util.Hashtable |
getEntrySerials() |
java.lang.Class |
getUpdatedClass() |
protected java.util.Hashtable |
getUpdatedEntries(java.util.Hashtable a_entriesToUpdate) |
getLastUpdate, getPreferredEntry, protectFromCleanup, setPreferredEntry, updateInternal, wasUpdateSuccessful
getObservableInfo, getUpdatedClassName, getUpdateInterval, isFirstUpdateDone, isUpdatePaused, needsUpdate, start, stop, update, update, update, updateAsync
private static final long UPDATE_INTERVAL_MS
private static final long MIN_UPDATE_INTERVAL_MS
public ServiceExitAddressUpdater(Updater.ObservableInfo a_observableInfo)
public java.lang.Class getUpdatedClass()
getUpdatedClass
in class Updater
protected boolean doCleanup(java.util.Hashtable a_newEntries)
AbstractDatabaseUpdater
doCleanup
in class AbstractDatabaseUpdater
a_newEntries
- the list of new entriesprotected java.util.Hashtable getUpdatedEntries(java.util.Hashtable a_entriesToUpdate)
getUpdatedEntries
in class AbstractDatabaseUpdater
protected java.util.Hashtable getEntrySerials()
getEntrySerials
in class AbstractDatabaseUpdater
Copyright © 2023. All rights reserved.