Package io.higson.runtime.sync
Class VersionRuntimeWatcher
java.lang.Object
io.higson.runtime.sync.BaseWatcher
io.higson.runtime.sync.VersionRuntimeWatcher
- All Implemented Interfaces:
Runnable
- Author:
- przemek hertel
-
Constructor Summary
ConstructorsConstructorDescriptionVersionRuntimeWatcher(VersionDao dao, FunctionCache functionCache, PreparedParamCache paramCache, SystemVersionCache systemVersionCache, UserRegionVersionCache userRegionVersionCache) -
Method Summary
Modifier and TypeMethodDescriptionvoiddoWatch()sync(Map<Integer, RegionVersion> prevMap, Map<Integer, RegionVersion> freshMap) Methods inherited from class io.higson.runtime.sync.BaseWatcher
getConfig, isRunning, run, setConfig, start, stop
-
Constructor Details
-
VersionRuntimeWatcher
public VersionRuntimeWatcher(VersionDao dao, FunctionCache functionCache, PreparedParamCache paramCache, SystemVersionCache systemVersionCache, UserRegionVersionCache userRegionVersionCache)
-
-
Method Details
-
doWatch
public void doWatch() -
sync
public SyncResult<RegionVersion> sync(Map<Integer, RegionVersion> prevMap, Map<Integer, RegionVersion> freshMap)
-