public interface Watcher<T>
Watcher interface when it
wants to be informed of one-time changes in watchable objects.| Modifier and Type | Method and Description |
|---|---|
void |
update(T value)
This method is called whenever the watched object is changed.
|
void update(T value)
notifyWatchers method to have all the object's
watchers notified of the change.value - the updated value of a watchableCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.