public class ReloadManagerImpl extends Object implements ReloadManager
Constructor and Description |
---|
ReloadManagerImpl(ScheduledExecutorService scheduledExecutorService,
long checkPeriod) |
Modifier and Type | Method and Description |
---|---|
void |
addCallback(URL uri,
ReloadCallback callback) |
boolean |
isStarted() |
void |
setTick(Runnable tick)
Callback for the next tick
|
void |
start() |
void |
stop() |
public ReloadManagerImpl(ScheduledExecutorService scheduledExecutorService, long checkPeriod)
public void start()
start
in interface ActiveMQComponent
public void setTick(Runnable tick)
ReloadManager
setTick
in interface ReloadManager
public void stop()
stop
in interface ActiveMQComponent
public boolean isStarted()
isStarted
in interface ActiveMQComponent
public void addCallback(URL uri, ReloadCallback callback)
addCallback
in interface ReloadManager
Copyright © 2016 The Apache Software Foundation. All rights reserved.