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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addReloadCallback(java.lang.Runnable callback)
Adds a callback to be invoked fromforceReload()
.void
forceReload()
Force a reload (if in development mode).
-
-
-
Method Detail
-
forceReload
void forceReload()
Force a reload (if in development mode). Writes anAlertManager
alert message.
-
addReloadCallback
void addReloadCallback(java.lang.Runnable callback)
Adds a callback to be invoked fromforceReload()
.- Parameters:
callback
-
-
-