/** * Close the root node when closing a tree. */ void closeRoot() { // Prevent node from being marked dirty. mId = CLOSED_ID; mCachedState = CACHED_CLEAN; mPage = p_closedTreePage(); readFields(); }
/** * Close the root node when closing a tree. */ void closeRoot() { // Prevent node from being marked dirty. mId = CLOSED_ID; mCachedState = CACHED_CLEAN; mPage = p_closedTreePage(); readFields(); }
/** * Close the root node when closing a tree. */ void closeRoot() { // Prevent node from being marked dirty. mId = CLOSED_ID; mCachedState = CACHED_CLEAN; mPage = p_closedTreePage(); readFields(); }
/** * Caller must hold exclusive latch. Latch is never released by this method, even if * an exception is thrown. */ void read(LocalDatabase db, long id) throws IOException { db.readNode(this, id); try { readFields(); } catch (IllegalStateException e) { throw new CorruptDatabaseException(e.getMessage()); } }
/** * Caller must hold exclusive latch. Latch is never released by this method, even if * an exception is thrown. */ void read(LocalDatabase db, long id) throws IOException { db.readNode(this, id); try { readFields(); } catch (IllegalStateException e) { throw new CorruptDatabaseException(e.getMessage()); } }
/** * Caller must hold exclusive latch. Latch is never released by this method, even if * an exception is thrown. */ void read(LocalDatabase db, long id) throws IOException { db.readNode(this, id); try { readFields(); } catch (IllegalStateException e) { throw new CorruptDatabaseException(e.getMessage()); } }
private static Node createClosedNode() { Node closed = new Node(null, p_closedTreePage()); closed.mId = CLOSED_ID; closed.mCachedState = CACHED_CLEAN; closed.readFields(); return closed; }
private static Node createClosedNode() { Node closed = new Node(null, p_closedTreePage()); closed.mId = CLOSED_ID; closed.mCachedState = CACHED_CLEAN; closed.readFields(); return closed; }
private static Node createClosedNode() { Node closed = new Node(null, p_closedTreePage()); closed.mId = CLOSED_ID; closed.mCachedState = CACHED_CLEAN; closed.readFields(); return closed; }