use of org.apache.jackrabbit.oak.plugins.document.JournalPropertyHandlerFactory in project jackrabbit-oak by apache.
the class HybridIndexClusterIT method getFixture.
@Override
protected NodeStoreFixture getFixture() {
return new DocumentMemoryFixture() {
@Override
public NodeStore createNodeStore(int clusterNodeId) {
JournalPropertyHandlerFactory tracker = new JournalPropertyHandlerFactory();
Whiteboard wb = clusterNodeId == 1 ? nswb1 : nswb2;
tracker.start(wb);
return new DocumentMK.Builder().setDocumentStore(documentStore).setJournalPropertyHandlerFactory(tracker).setAsyncDelay(0).getNodeStore();
}
};
}
Aggregations