Interface ReloadHelper
- All Known Implementing Classes:
ReloadHelperImpl
public interface ReloadHelper
Forces a reload of all caches and invalidates the component class cache. This is only allowed when production mode is off.
- Since:
- 5.4
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addReloadCallback
(Runnable callback) Adds a callback to be invoked fromforceReload()
.void
Force a reload (if in development mode).
-
Method Details
-
forceReload
void forceReload()Force a reload (if in development mode). Writes anAlertManager
alert message. -
addReloadCallback
Adds a callback to be invoked fromforceReload()
.- Parameters:
callback
-
-