Interface BlockManager


  • public interface BlockManager
    Represents an INode
    • Method Detail

      • getInode

        int getInode()
      • allocateBlock

        ByteBuffer allocateBlock​(int index)
      • getBlock

        ByteBuffer getBlock​(int index)
        Get the block for a given index. Returns null if the block does not exist.
        Parameters:
        index -
        Returns:
      • freeBlock

        void freeBlock​(int index)
      • free

        int free​(boolean acquireDataBlock)