ehcache

net.sf.ehcache.util
Class UpdateChecker

java.lang.Object
  extended by java.util.TimerTask
      extended by net.sf.ehcache.util.UpdateChecker
All Implemented Interfaces:
Runnable

public class UpdateChecker
extends TimerTask

Check for new Ehcache updates and alert users if an update is available

Author:
Hung Huynh

Constructor Summary
UpdateChecker()
           
 
Method Summary
 void checkForUpdate()
          This method ensures that there will be no exception thrown.
 void run()
          Run the update check
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateChecker

public UpdateChecker()
Method Detail

run

public void run()
Run the update check

Specified by:
run in interface Runnable
Specified by:
run in class TimerTask

checkForUpdate

public void checkForUpdate()
This method ensures that there will be no exception thrown.


ehcache

Copyright © 2003-2012 Terracotta, Inc.. All Rights Reserved.