anon.infoservice.update
Class JavaVersionUpdater

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

public class JavaVersionUpdater
extends AbstractDatabaseUpdater

Updates the latest java version.

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 UPDATE_INTERVAL_MS
           
private static long UPDATE_INTERVAL_MS_SHORT
           
 
Fields inherited from class anon.infoservice.update.AbstractDatabaseUpdater
KEEP_ENTRY_FACTOR
 
Constructor Summary
JavaVersionUpdater(Updater.ObservableInfo a_observableInfo)
           
 
Method Summary
protected  java.util.Hashtable getEntrySerials()
           
 java.lang.Class getUpdatedClass()
           
protected  java.util.Hashtable getUpdatedEntries(java.util.Hashtable a_dummy)
           
 
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_MS

private static final long UPDATE_INTERVAL_MS
See Also:
Constant Field Values

UPDATE_INTERVAL_MS_SHORT

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

JavaVersionUpdater

public JavaVersionUpdater(Updater.ObservableInfo a_observableInfo)
Method Detail

getUpdatedClass

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

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