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
-
Field Summary
Fields inherited from class org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent
executor, scheduledExecutorService -
Constructor Summary
ConstructorsConstructorDescriptionReloadManagerImpl(ScheduledExecutorService scheduledExecutorService, Executor executor, long checkPeriod) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCallback(URL uri, ReloadCallback callback) voidrun()voidCallback for the next tickMethods inherited from class org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent
delay, getInitialDelay, getPeriod, getThreadFactory, getTimeUnit, isStarted, setInitialDelay, setInitialDelayAndPeriod, setInitialDelayAndPeriod, setPeriod, setPeriod, setTimeUnit, start, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.activemq.artemis.core.server.ActiveMQComponent
asyncStop, isStarted, start, stop
-
Constructor Details
-
ReloadManagerImpl
public ReloadManagerImpl(ScheduledExecutorService scheduledExecutorService, Executor executor, long checkPeriod)
-
-
Method Details
-
run
public void run() -
setTick
Description copied from interface:ReloadManagerCallback for the next tick- Specified by:
setTickin interfaceReloadManager
-
addCallback
- Specified by:
addCallbackin interfaceReloadManager
-