A class for adding support for reload operations in a generic way.
A {@code ReloadingController} monitors a specific source and triggersreloading events if necessary. So it does not perform reloading itself, but only sends out notifications when it thinks that this should be done. This allows for a very generic setup in which different components involved in reloading are loosely coupled via events.
A typical usage scenario is as follows:
This class can be accessed from multiple threads concurrently. It shields the associated {@link ReloadingDetector} object for concurrent access, so that aconcrete detector implementation does not have to be thread-safe.
@version $Id: ReloadingController.java 1612667 2014-07-22 20:00:39Z oheger $ @since 2.0A class for adding support for reload operations in a generic way.
A {@code ReloadingController} monitors a specific source and triggersreloading events if necessary. So it does not perform reloading itself, but only sends out notifications when it thinks that this should be done. This allows for a very generic setup in which different components involved in reloading are loosely coupled via events.
A typical usage scenario is as follows:
This class can be accessed from multiple threads concurrently. It shields the associated {@link ReloadingDetector} object for concurrent access, so that aconcrete detector implementation does not have to be thread-safe.
@version $Id: ReloadingController.java 1624601 2014-09-12 18:04:36Z oheger $ @since 2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|