Interface Observable
- All Known Implementing Classes:
BranchNodeStore
,ChangeDispatcher
,CompositeNodeStore
,COWNodeStore
,DocumentNodeStore
,MemoryNodeStore
,SegmentNodeStore
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
Closeable
instance.
-