Package io.higson.runtime.sync
Class BaseWatcher
java.lang.Object
io.higson.runtime.sync.BaseWatcher
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
DevModeWatcher,DomainRuntimeWatcher,ProfileRuntimeWatcher,RefreshRuntimeWatcher,RuntimeWatcher,ScheduleRuntimeWatcher,UserRegionVersionRuntimeWatcher,VersionRuntimeWatcher
- Author:
- przemek hertel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected WatcherConfigprotected final org.slf4j.Loggerprotected boolean -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
log
protected final org.slf4j.Logger log -
running
protected volatile boolean running -
config
-
-
Constructor Details
-
BaseWatcher
public BaseWatcher()
-
-
Method Details
-
doWatch
protected abstract void doWatch() -
getWatcherName
-
start
public void start() -
stop
public void stop() -
run
public void run() -
initWatcher
protected void initWatcher() -
watch
protected void watch() -
isRunning
public boolean isRunning() -
setConfig
-
getConfig
-
print
-
print
-