jap
Class JAPFeedback
java.lang.Object
anon.util.Updater
anon.infoservice.update.AbstractDatabaseUpdater
jap.JAPFeedback
- All Implemented Interfaces:
- java.util.Observer
final class JAPFeedback
- extends AbstractDatabaseUpdater
Method Summary |
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_dummy)
|
protected boolean |
isUpdatePaused()
May be overwritten if an update is currently no wanted. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UPDATE_INTERVAL_MS
public 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_updateInterval
private Updater.DynamicUpdateInterval m_updateInterval
JAPFeedback
public JAPFeedback()
getUpdatedClass
public java.lang.Class getUpdatedClass()
- Specified by:
getUpdatedClass
in class Updater
doCleanup
protected boolean doCleanup(java.util.Hashtable a_newEntries)
- Description copied from class:
AbstractDatabaseUpdater
- Does some cleanup operations of the database. All old entries that were not updated by
the new entries are removed. Subclasses may overwrite this method to suppress or alter this
behavior. This method is called by updateInternal().
- Overrides:
doCleanup
in class AbstractDatabaseUpdater
- Parameters:
a_newEntries
- the list of new entries
- Returns:
- boolean
isUpdatePaused
protected boolean isUpdatePaused()
- Description copied from class:
Updater
- May be overwritten if an update is currently no wanted.
- Overrides:
isUpdatePaused
in class Updater
- Returns:
- boolean
getUpdatedEntries
protected java.util.Hashtable getUpdatedEntries(java.util.Hashtable a_dummy)
- Specified by:
getUpdatedEntries
in class AbstractDatabaseUpdater
getEntrySerials
protected java.util.Hashtable getEntrySerials()
- Specified by:
getEntrySerials
in class AbstractDatabaseUpdater