|Constructor and Description|
Create a new instance for dispatching content changes
|Modifier and Type||Method and Description|
Register a new
Observes a content change.
Observerfor receiving notifications about changes reported to this change dispatcher. Changes are reported synchronously and clients need to ensure to no block any length of time (e.g. by relaying through a
Clients need to call
Closeable.close() close} on the returned
Closeable instance to stop receiving notifications.
public void contentChanged(@Nonnull NodeState root, @Nonnull CommitInfo info)
Observerclass javadocs and relevant repository and observer registration details for more information on when and how this method gets called.
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.