The {@link #newHook(ContentSession)} method registers a hook forreporting changes. Actual changes are reported by calling {@link Hook#contentChanged(NodeState,NodeState)}. Such changes are considered to have occurred on the local cluster node and are recorded as such. Changes that occurred in-between calls to any hook registered with a change processor are considered to have occurred on a different cluster node and are recorded as such.
The {@link #newListener()} registers a listener for receiving changes reportedinto a change dispatcher by any of its hooks.
Changes are reported by calling {@link #contentChanged(NodeState,CommitInfo)}.
The {@link #addObserver(Observer)} method registers an {@link Observer} for receivingnotifications for all changes reported to this instance.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|