Interface InventoryCacheProvider


  • public interface InventoryCacheProvider
    Service Provider Interface for providing a persisted cache for GridDatasetInv. For use by the THREDDS Data Server and not intended to be used publicly.
    • Method Detail

      • get

        @Nullable
        GridDatasetInv get​(MFile mfile)
                    throws IOException
        Get the grid inventory associated with an MFile from the cache.
        Parameters:
        mfile - the mfile containing gridded data
        Returns:
        grid inventory of the of mfile, null if not found
        Throws:
        IOException
      • put

        void put​(MFile mfile,
                 GridDatasetInv inventory)
          throws IOException
        Add the grid inventory associated with an MFile to the cache.
        Parameters:
        mfile - the mfile containing gridded data
        inventory - the grid inventory of the of mfile
        Throws:
        IOException