Class ReloadManagerImpl
- java.lang.Object
-
- org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent
-
- org.apache.activemq.artemis.core.server.reload.ReloadManagerImpl
-
- All Implemented Interfaces:
Runnable,ActiveMQComponent,ReloadManager
public class ReloadManagerImpl extends ActiveMQScheduledComponent implements ReloadManager
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent
executor, scheduledExecutorService
-
-
Constructor Summary
Constructors Constructor Description ReloadManagerImpl(ScheduledExecutorService scheduledExecutorService, Executor executor, long checkPeriod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCallback(URL uri, ReloadCallback callback)voidrun()voidsetTick(Runnable tick)Callback for the next tick-
Methods inherited from class org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent
delay, getInitialDelay, getPeriod, getThreadFactory, getTimeUnit, isStarted, setInitialDelay, setInitialDelayAndPeriod, setInitialDelayAndPeriod, setPeriod, setPeriod, setTimeUnit, start, stop
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.activemq.artemis.core.server.ActiveMQComponent
asyncStop, isStarted, start, stop
-
-
-
-
Constructor Detail
-
ReloadManagerImpl
public ReloadManagerImpl(ScheduledExecutorService scheduledExecutorService, Executor executor, long checkPeriod)
-
-
Method Detail
-
setTick
public void setTick(Runnable tick)
Description copied from interface:ReloadManagerCallback for the next tick- Specified by:
setTickin interfaceReloadManager
-
addCallback
public void addCallback(URL uri, ReloadCallback callback)
- Specified by:
addCallbackin interfaceReloadManager
-
-