/** * Returns a new or recycled Node instance, latched exclusively and marked * dirty. Caller must hold commit lock. */ Node allocDirtyNode() throws IOException { return allocDirtyNode(0); }
/** * Returns a new or recycled Node instance, latched exclusively and marked * dirty. Caller must hold commit lock. */ Node allocDirtyNode() throws IOException { return allocDirtyNode(0); }
/** * Returns a new or recycled Node instance, latched exclusively and marked * dirty. Caller must hold commit lock. */ Node allocDirtyNode() throws IOException { return allocDirtyNode(0); }
/** * Returns a new or recycled Node instance, latched exclusively and marked * dirty. Caller must hold commit lock. */ Node allocDirtyFragmentNode() throws IOException { Node node = allocDirtyNode(); nodeMapPut(node); /*P*/ // [ node.type(TYPE_FRAGMENT); /*P*/ // ] return node; }
/** * Caller must hold db commit lock. */ private Node allocUnevictableNode(long lowerNodeId) throws IOException { Node node = mDatabase.allocDirtyNode(NodeUsageList.MODE_UNEVICTABLE); node.type(Node.TYPE_UNDO_LOG); p_longPutLE(node.mPage, I_LOWER_NODE_ID, lowerNodeId); return node; }
/** * Returns a new or recycled Node instance, latched exclusively and marked * dirty. Caller must hold commit lock. */ Node allocDirtyFragmentNode() throws IOException { Node node = allocDirtyNode(); nodeMapPut(node); /*P*/ // [ node.type(TYPE_FRAGMENT); /*P*/ // ] return node; }
/** * Caller must hold db commit lock. */ private Node allocUnevictableNode(long lowerNodeId) throws IOException { Node node = mDatabase.allocDirtyNode(NodeUsageList.MODE_UNEVICTABLE); node.type(Node.TYPE_UNDO_LOG); p_longPutLE(node.mPage, I_LOWER_NODE_ID, lowerNodeId); return node; }
/** * Caller must hold db commit lock. */ private Node allocUnevictableNode(long lowerNodeId) throws IOException { Node node = mDatabase.allocDirtyNode(NodeContext.MODE_UNEVICTABLE); node.type(Node.TYPE_UNDO_LOG); p_longPutLE(node.mPage, I_LOWER_NODE_ID, lowerNodeId); return node; }
/** * Returns a new or recycled Node instance, latched exclusively and marked * dirty. Caller must hold commit lock. */ Node allocDirtyFragmentNode() throws IOException { Node node = allocDirtyNode(); nodeMapPut(node); /*P*/ // [ node.type(TYPE_FRAGMENT); /*P*/ // ] return node; }
Node newNode = tree.mDatabase.allocDirtyNode(NodeContext.MODE_UNEVICTABLE); tree.mDatabase.nodeMapPut(newNode);
newNode = db.allocDirtyNode(NodeUsageList.MODE_UNEVICTABLE); } catch (DatabaseFullException e) { newNode = db.allocDirtyNode(NodeUsageList.MODE_UNEVICTABLE); } finally { db.capacityLimitOverride(0);
newNode = db.allocDirtyNode(NodeUsageList.MODE_UNEVICTABLE); } catch (DatabaseFullException e) { newNode = db.allocDirtyNode(NodeUsageList.MODE_UNEVICTABLE); } finally { db.capacityLimitOverride(0);
newNode = db.allocDirtyNode(NodeContext.MODE_UNEVICTABLE); } catch (DatabaseFullException e) { newNode = db.allocDirtyNode(NodeContext.MODE_UNEVICTABLE); } finally { db.capacityLimitOverride(0);
Node child = db.allocDirtyNode(); db.nodeMapPut(child);
Node child = db.allocDirtyNode(); db.nodeMapPut(child);
Node child = db.allocDirtyNode(); db.nodeMapPut(child);
Node newNode = tree.mDatabase.allocDirtyNode(NodeContext.MODE_UNEVICTABLE); tree.mDatabase.nodeMapPut(newNode);
Node newNode = tree.mDatabase.allocDirtyNode(NodeUsageList.MODE_UNEVICTABLE); tree.mDatabase.nodeMapPut(newNode);
Node newNode = tree.mDatabase.allocDirtyNode(NodeUsageList.MODE_UNEVICTABLE); tree.mDatabase.nodeMapPut(newNode);