Class MetaData


  • public class MetaData
    extends Object
    • Field Detail

      • FILE_LOCATION_ENTRY_ALLOCATION_TABLE_START

        public static final int FILE_LOCATION_ENTRY_ALLOCATION_TABLE_START
        See Also:
        Constant Field Values
    • Constructor Detail

    • Method Detail

      • allocateStorageSpace

        public long allocateStorageSpace​(int amountOfBytes)
        Returns:
        address of the start of the allocated space
      • decreaseUsedEntriesCount

        public void decreaseUsedEntriesCount()
      • ensureMinimumCurrentLocation

        public void ensureMinimumCurrentLocation​(long minimumLocation)
      • entriesTableNeedsIncreasing

        public boolean entriesTableNeedsIncreasing()
      • getEntriesStorageAreaStart

        public long getEntriesStorageAreaStart()
      • getEntriesStorageAreaStart

        public long getEntriesStorageAreaStart​(int hypotheticalEntriesTableSize)
      • getEntriesTableSize

        public int getEntriesTableSize()
        Returns:
        amount of entries in the entries table
      • setEntriesTableSize

        public void setEntriesTableSize​(int newSize)
      • getNewEntryId

        public int getNewEntryId()
      • increaseUsedEntriesCount

        public void increaseUsedEntriesCount()
      • setCurrentLocation

        public void setCurrentLocation​(long currentLocation)