anon.infoservice.update
Class PerformanceInfoUpdater

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

public class PerformanceInfoUpdater
extends AbstractDatabaseUpdater


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
           
 
Fields inherited from class anon.infoservice.update.AbstractDatabaseUpdater
KEEP_ENTRY_FACTOR
 
Constructor Summary
PerformanceInfoUpdater(long interval, Updater.ObservableInfo a_observableInfo)
           
PerformanceInfoUpdater(Updater.ObservableInfo a_observableInfo)
           
 
Method Summary
protected  java.util.Hashtable getEntrySerials()
           
 java.lang.Class getUpdatedClass()
           
protected  java.util.Hashtable getUpdatedEntries(java.util.Hashtable toUpdate)
           
 
Methods inherited from class anon.infoservice.update.AbstractDatabaseUpdater
doCleanup, getPreferredEntry, isFirstUpdateDone, protectFromCleanup, 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

private static final long UPDATE_INTERVAL
See Also:
Constant Field Values

MIN_UPDATE_INTERVAL_MS

private static final long MIN_UPDATE_INTERVAL_MS
See Also:
Constant Field Values
Constructor Detail

PerformanceInfoUpdater

public PerformanceInfoUpdater(Updater.ObservableInfo a_observableInfo)

PerformanceInfoUpdater

public PerformanceInfoUpdater(long interval,
                              Updater.ObservableInfo a_observableInfo)
Method Detail

getEntrySerials

protected java.util.Hashtable getEntrySerials()
Specified by:
getEntrySerials in class AbstractDatabaseUpdater

getUpdatedEntries

protected java.util.Hashtable getUpdatedEntries(java.util.Hashtable toUpdate)
Specified by:
getUpdatedEntries in class AbstractDatabaseUpdater

getUpdatedClass

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