Interface IndexDataBase


  • public interface IndexDataBase
    Represents an index in the cache
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int[] getFileIds​(int archiveId)
      Get the child file ids for a given archive
      boolean isOverlayOutdated()
      Returns true if any cache overlay in this index is outdated due to hash mismatch
      byte[] loadData​(int archiveID, int fileID)  
    • Method Detail

      • isOverlayOutdated

        boolean isOverlayOutdated()
        Returns true if any cache overlay in this index is outdated due to hash mismatch
      • getFileIds

        int[] getFileIds​(int archiveId)
        Get the child file ids for a given archive
        Parameters:
        archiveId -
        Returns:
      • loadData

        byte[] loadData​(int archiveID,
                        int fileID)