private Node < K , V > getNodeFromStore ( final int nodeid ) { final int index = nodeid < 0 ? - nodeid : nodeid ; final ByteBuffer buf = storage . get ( index ) ; final Node < K , V > node = Node . deserialize ( buf , this ) ; if ( rootIdx == node . id ) { log . warn ( this . getClass ( ) . getName ( ) + "::getNodeFromStore(" + nodeid + ") WARN LOADED ROOT NODE" ) ; } storage . release ( buf ) ; if ( enableIOStats ) { getIOStat ( nodeid ) . incPhysRead ( ) ; } return node ; }
Get node from file