Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
UnsavedModifications.persist() depends on DocumentNodeStore, which has a rather big surface. The method primarily needs the RevisionContext part and the DocumentStore.
The RevisionContext isn't even needed. Right now, it is only used to get a Clock to measure the time it takes to perform the various write backs. This can also be replaced with a Stopwatch.
Done in trunk: http://svn.apache.org/r1794679