org.gudy.azureus2.ui.swt.update
Class UpdateMonitor

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.update.UpdateMonitor
All Implemented Interfaces:
UpdateCheckInstanceListener

public class UpdateMonitor
extends java.lang.Object
implements UpdateCheckInstanceListener

Author:
Olivier Chalouhi

Nested Class Summary
protected  class UpdateMonitor.updateStatusChanger
           
 
Field Summary
static long AUTO_UPDATE_CHECK_PERIOD
           
static long AUTO_UPDATE_CHECK_PERIOD_BETA
           
 
Constructor Summary
protected UpdateMonitor(AzureusCore _azureus_core)
           
 
Method Summary
protected  void addDecisionHandler(UpdateCheckInstance instance)
           
 void cancelled(UpdateCheckInstance instance)
           
 void complete(UpdateCheckInstance instance)
           
static UpdateMonitor getSingleton(AzureusCore core)
           
protected  void handleLowNoise(UpdateCheckInstance instance)
           
protected  void handleRestart()
           
protected  void performAutoCheck(boolean start_of_day)
           
 void performCheck(boolean bForce, boolean automatic, boolean isRecheck, UpdateCheckInstanceListener l)
           
protected  void requestRecheck()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUTO_UPDATE_CHECK_PERIOD

public static final long AUTO_UPDATE_CHECK_PERIOD
See Also:
Constant Field Values

AUTO_UPDATE_CHECK_PERIOD_BETA

public static final long AUTO_UPDATE_CHECK_PERIOD_BETA
See Also:
Constant Field Values
Constructor Detail

UpdateMonitor

protected UpdateMonitor(AzureusCore _azureus_core)
Method Detail

getSingleton

public static UpdateMonitor getSingleton(AzureusCore core)

requestRecheck

protected void requestRecheck()

performAutoCheck

protected void performAutoCheck(boolean start_of_day)

performCheck

public void performCheck(boolean bForce,
                         boolean automatic,
                         boolean isRecheck,
                         UpdateCheckInstanceListener l)

complete

public void complete(UpdateCheckInstance instance)
Specified by:
complete in interface UpdateCheckInstanceListener

cancelled

public void cancelled(UpdateCheckInstance instance)
Specified by:
cancelled in interface UpdateCheckInstanceListener

handleRestart

protected void handleRestart()

addDecisionHandler

protected void addDecisionHandler(UpdateCheckInstance instance)

handleLowNoise

protected void handleLowNoise(UpdateCheckInstance instance)