|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.TimerTask net.sf.ehcache.util.UpdateChecker
public class UpdateChecker
Check for new Ehcache updates and alert users if an update is available
Constructor Summary | |
---|---|
UpdateChecker()
Construct update checker object |
Method Summary | |
---|---|
void |
checkForUpdate()
This method ensures that there will be no exception thrown. |
protected void |
putUrlSafe(String key,
String value)
Add param to map, value is url-encoded |
void |
run()
Run the update check |
protected void |
updateParams()
hook point to update any params before 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 |
---|
public UpdateChecker()
Method Detail |
---|
protected void putUrlSafe(String key, String value)
key
- value
- public void run()
run
in interface Runnable
run
in class TimerTask
public void checkForUpdate()
protected void updateParams()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |