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 TypeMethodDescriptionvoidaddReloadCallback(Runnable callback) Adds a callback to be invoked fromforceReload().voidForce a reload (if in development mode).
-
Method Details
-
forceReload
void forceReload()Force a reload (if in development mode). Writes anAlertManageralert message. -
addReloadCallback
Adds a callback to be invoked fromforceReload().- Parameters:
callback-
-