use of org.apache.jackrabbit.oak.plugins.document.secondary.SecondaryStoreObserver in project jackrabbit-oak by apache.
the class BundledDocumentDifferTest method configureSecondary.
private SecondaryStoreCache configureSecondary() {
SecondaryStoreBuilder builder = createBuilder(new PathFilter(of("/"), Collections.<String>emptyList()));
builder.metaPropNames(DocumentNodeStore.META_PROP_NAMES);
SecondaryStoreCache cache = builder.buildCache();
SecondaryStoreObserver observer = builder.buildObserver(cache);
store.addObserver(observer);
return cache;
}
Aggregations