public class ManagedReloadingDetector extends Object implements ReloadingDetector, ManagedReloadingDetectorMBean
Constructor and Description |
---|
ManagedReloadingDetector() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReloadingRequired()
Checks whether reloading is required.
|
void |
refresh()
Tells this strategy that the monitored configuration file should be refreshed.
|
void |
reloadingPerformed()
Notifies this object that a reload operation has been performed.
|
public ManagedReloadingDetector()
public void reloadingPerformed()
reloadingRequired()
has returned true. It can be used to reset internal state in order to detect the
next reload operation. This implementation resets the internal flag indicating that a reload should be performed.reloadingPerformed
in interface ReloadingDetector
public boolean isReloadingRequired()
refresh()
method has been
invoked.isReloadingRequired
in interface ReloadingDetector
public void refresh()
refresh
in interface ManagedReloadingDetectorMBean
ManagedReloadingDetectorMBean.refresh()
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.