Class FilteringDispatcher
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.observation.FilteringDispatcher
-
- All Implemented Interfaces:
Observer
public class FilteringDispatcher extends Object implements Observer
Part of the FilteringObserver: the FilteringDispatcher is used to implement the skipping (filtering) of content changes which the FilteringDispatcher flags as NOOP_CHANGE. When the FilteringDispatcher notices a NOOP_CHANGE it does not forward the change but only updates the before NodeState.
-
-
Constructor Summary
Constructors Constructor Description FilteringDispatcher(FilteringAwareObserver observer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontentChanged(@NotNull NodeState root, @NotNull CommitInfo info)Observes a content change.
-
-
-
Constructor Detail
-
FilteringDispatcher
public FilteringDispatcher(FilteringAwareObserver observer)
-
-
Method Detail
-
contentChanged
public void contentChanged(@NotNull @NotNull NodeState root, @NotNull @NotNull CommitInfo info)Description copied from interface:ObserverObserves a content change. See theObserverclass javadocs and relevant repository and observer registration details for more information on when and how this method gets called.- Specified by:
contentChangedin interfaceObserver- Parameters:
root- root state of the repositoryinfo- commit information
-
-