Class FilteringDispatcher
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.observation.FilteringDispatcher
-
- All Implemented Interfaces:
Observer
public class FilteringDispatcher extends java.lang.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 void
contentChanged(@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:Observer
Observes a content change. See theObserver
class javadocs and relevant repository and observer registration details for more information on when and how this method gets called.- Specified by:
contentChanged
in interfaceObserver
- Parameters:
root
- root state of the repositoryinfo
- commit information
-
-