anon.infoservice.update
Class PaymentInstanceUpdater

java.lang.Object
  extended by anon.util.Updater
      extended by anon.infoservice.update.AbstractDatabaseUpdater
          extended by anon.infoservice.update.PaymentInstanceUpdater
All Implemented Interfaces:
java.util.Observer

public class PaymentInstanceUpdater
extends AbstractDatabaseUpdater

Updates the list of available MixCascades.

Author:
Rolf Wendolsky

Nested Class Summary
 
Nested classes/interfaces inherited from class anon.util.Updater
Updater.ConstantUpdateInterval, Updater.DynamicUpdateInterval, Updater.IUpdateInterval, Updater.ObservableInfo
 
Field Summary
private static long MIN_UPDATE_INTERVAL_MS
           
private static long UPDATE_INTERVAL_MS
           
 
Fields inherited from class anon.infoservice.update.AbstractDatabaseUpdater
KEEP_ENTRY_FACTOR
 
Constructor Summary
PaymentInstanceUpdater(long a_updateInterval, Updater.ObservableInfo a_observableInfo)
           
PaymentInstanceUpdater(Updater.ObservableInfo a_observableInfo)
           
 
Method Summary
protected  java.util.Hashtable getEntrySerials()
           
 java.lang.Class getUpdatedClass()
           
protected  java.util.Hashtable getUpdatedEntries(java.util.Hashtable a_entriesToUpdate)
           
protected  boolean protectFromCleanup(AbstractDatabaseEntry a_currentEntry)
           
 
Methods inherited from class anon.infoservice.update.AbstractDatabaseUpdater
doCleanup, getPreferredEntry, isFirstUpdateDone, setPreferredEntry, updateInternal, wasUpdateSuccessful
 
Methods inherited from class anon.util.Updater
getObservableInfo, getUpdatedClassName, getUpdateInterval, isUpdatePaused, start, stop, update, update, updateAsync
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

PaymentInstanceUpdater

public PaymentInstanceUpdater(Updater.ObservableInfo a_observableInfo)

PaymentInstanceUpdater

public PaymentInstanceUpdater(long a_updateInterval,
                              Updater.ObservableInfo a_observableInfo)
Method Detail

getUpdatedClass

public java.lang.Class getUpdatedClass()
Specified by:
getUpdatedClass in class Updater

getEntrySerials

protected 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

protectFromCleanup

protected boolean protectFromCleanup(AbstractDatabaseEntry a_currentEntry)
Overrides:
protectFromCleanup in class AbstractDatabaseUpdater