anon.infoservice.update
Class AbstractMixCascadeUpdater
java.lang.Object
anon.util.Updater
anon.infoservice.update.AbstractDatabaseUpdater
anon.infoservice.update.AbstractMixCascadeUpdater
- All Implemented Interfaces:
- java.util.Observer
- Direct Known Subclasses:
- Controller.MixCascadeUpdater, MixCascadeUpdater
public abstract class AbstractMixCascadeUpdater
- extends AbstractDatabaseUpdater
Updates the list of available MixCascades.
- Author:
- Rolf Wendolsky
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UPDATE_INTERVAL_MS
private static final long UPDATE_INTERVAL_MS
- See Also:
- Constant Field Values
MIN_UPDATE_INTERVAL_MS
private static final long MIN_UPDATE_INTERVAL_MS
- See Also:
- Constant Field Values
m_bDoMixInfoCleanup
private boolean m_bDoMixInfoCleanup
AbstractMixCascadeUpdater
public AbstractMixCascadeUpdater(Updater.ObservableInfo a_observableInfo)
AbstractMixCascadeUpdater
public AbstractMixCascadeUpdater(long interval,
boolean a_bDoMixInfoCleanup,
Updater.ObservableInfo a_observableInfo)
getPreferredEntry
protected abstract AbstractDatabaseEntry getPreferredEntry()
- Overrides:
getPreferredEntry
in class AbstractDatabaseUpdater
setPreferredEntry
protected abstract void setPreferredEntry(AbstractDatabaseEntry a_preferredEntry)
- Overrides:
setPreferredEntry
in class AbstractDatabaseUpdater
getUpdatedClass
public final java.lang.Class getUpdatedClass()
- Specified by:
getUpdatedClass
in class Updater
doCleanup
protected final boolean doCleanup(java.util.Hashtable a_newEntries)
- Removes all MixInfo entries that exist without a cascade.
- Overrides:
doCleanup
in class AbstractDatabaseUpdater
- Parameters:
a_newEntries
- the list of new entries
- Returns:
- boolean
getEntrySerials
protected final java.util.Hashtable getEntrySerials()
- Specified by:
getEntrySerials
in class AbstractDatabaseUpdater
getUpdatedEntries
protected java.util.Hashtable getUpdatedEntries(java.util.Hashtable a_entriesToUpdate)
- Specified by:
getUpdatedEntries
in class AbstractDatabaseUpdater
fetchCurrentStatus
private final boolean fetchCurrentStatus(MixCascade a_cascade)
getUpdatedEntries_internal
protected final java.util.Hashtable getUpdatedEntries_internal(java.util.Hashtable a_entriesToUpdate)