This implementation keeps changes in memory up to a certain limit and writes them back to the underlying branch when the limit is exceeded.
195196197198199200201202203204205
* * @return */ @CheckForNull static DocumentNodeStoreBranch getCurrentBranch() { AbstractNodeStoreBranch b = BRANCHES.get(Thread.currentThread()); if (b instanceof DocumentNodeStoreBranch) { return (DocumentNodeStoreBranch) b; } return null; }
214215216217218219220221222223224