Interface Observable
- All Known Implementing Classes:
ChangeDispatcher,MemoryNodeStore
public interface Observable
An
Observable supports attaching Observer instances for
listening to content changes.- See Also:
-
Method Summary
-
Method Details
-
addObserver
Register a newObserver. Clients need to callCloseable.close()to stop getting notifications on the registered observer and to free up any resources associated with the registration.- Returns:
- a
Closeableinstance.
-