Interface InventoryCacheProvider
-
public interface InventoryCacheProvider
Service Provider Interface for providing a persisted cache forGridDatasetInv
. For use by the THREDDS Data Server and not intended to be used publicly.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GridDatasetInv
get(MFile mfile)
Get the grid inventory associated with an MFile from the cache.void
put(MFile mfile, GridDatasetInv inventory)
Add the grid inventory associated with an MFile to the cache.
-
-
-
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 datainventory
- the grid inventory of the of mfile- Throws:
IOException
-
-