Package io.higson.runtime.sync
Class RefreshRuntimeWatcher
java.lang.Object
io.higson.runtime.sync.BaseWatcher
io.higson.runtime.sync.RefreshRuntimeWatcher
- All Implemented Interfaces:
Runnable
Watcher refreshes cached in-mem parameters according to their refresh configuration.
Each parameter cached longer that its autoRefreshPeriod is evicted from cache (ppcache).
- Author:
- przemek hertel
-
Field Summary
Fields inherited from class io.higson.runtime.sync.BaseWatcher
config, log, running -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.higson.runtime.sync.BaseWatcher
getConfig, initWatcher, isRunning, print, print, run, setConfig, start, stop, watch
-
Constructor Details
-
RefreshRuntimeWatcher
-
-
Method Details
-
doWatch
public void doWatch()- Specified by:
doWatchin classBaseWatcher
-
getWatcherName
- Specified by:
getWatcherNamein classBaseWatcher
-