public class CacheReloader
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
end |
private java.lang.Thread |
thread
Le but de cette classe est de permettre la mise à jour régulière du cache.
|
private java.lang.String |
threadName |
private long |
timeout |
Constructor and Description |
---|
CacheReloader(long timeout)
Contructeur de la classe
|
Modifier and Type | Method and Description |
---|---|
void |
run()
Met à jour le cache.
|
void |
start()
Methode pour lancer le cache reloader
|
private java.lang.Thread thread
private java.lang.String threadName
private long timeout
boolean end