Class NonDefaultMountWriteReportingObserver
java.lang.Object
org.apache.jackrabbit.oak.composite.impl.NonDefaultMountWriteReportingObserver
- All Implemented Interfaces:
Observer
Reports writes to non-default mounts
This is a diagnostic observer and is expected to be used in scenarios where the
CompositeNodeStore
is configured in a 'seed' mode, where the non-default
mounts are write-enabled.
In such scenarios it is useful to report writes to non-default mounts from components that are unexpected. For instance, it can report all writes that do not originate from the FileVault package installer.
Performance note: the overhead of this observer has not been measured, but as it is designed to be used only for initial setups the performance impact should not matter.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
final void
contentChanged
(NodeState root, CommitInfo info) Observes a content change.
-
Constructor Details
-
NonDefaultMountWriteReportingObserver
public NonDefaultMountWriteReportingObserver()
-
-
Method Details
-
activate
-
contentChanged
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
-