274275276277278279280281282283284
MongoNode node = nodeCache.get(key); if (node == null) { return null; } LOG.debug("Returning node from cache: {}", key); return node.copy(); } private void init() { initCommitCollection(); initNodeCollection();