public class ReloadManagerImpl extends ActiveMQScheduledComponent implements ReloadManager
Constructor and Description |
---|
ReloadManagerImpl(ScheduledExecutorService scheduledExecutorService,
Executor executor,
long checkPeriod) |
Modifier and Type | Method and Description |
---|---|
void |
addCallback(URL uri,
ReloadCallback callback) |
void |
run() |
void |
setTick(Runnable tick)
Callback for the next tick
|
delay, getInitialDelay, getPeriod, getThreadFactory, getTimeUnit, isStarted, setInitialDelay, setInitialDelayAndPeriod, setInitialDelayAndPeriod, setPeriod, setPeriod, setTimeUnit, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isStarted, start, stop
public ReloadManagerImpl(ScheduledExecutorService scheduledExecutorService, Executor executor, long checkPeriod)
public void setTick(Runnable tick)
ReloadManager
setTick
in interface ReloadManager
public void addCallback(URL uri, ReloadCallback callback)
addCallback
in interface ReloadManager
Copyright © 2018 JBoss by Red Hat. All rights reserved.