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 ReloadingDetectorpublic boolean isReloadingRequired()
refresh() method has been
invoked.isReloadingRequired in interface ReloadingDetectorpublic void refresh()
refresh in interface ManagedReloadingDetectorMBeanManagedReloadingDetectorMBean.refresh()Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.