Bug #1909
closed
generalize cache manager to provide support for very large data files
Added by Chad Berkley almost 20 years ago.
Updated almost 19 years ago.
Description
existing persistent vector imp. for GIS can be ported to cache manager.
This needs to be added as general support in the cache manager. Data files can
frequently be tens to hundreds of megabytes or more. The cache manager should
have support for accessing these objects in a memory-friendly manner.
Java GIS actors have capability for handling very large files (i.e. no need for
very large grids to be in RAM, although disk-based treatment is slow). These
large files are NOT saved in the cache, however. They are handled and stored as
ordinary files.
This should be implemented in the extension of CacheObject that deals with data
files.
The two types of cache objects which provide access to the raw file:
RawDataCacheObject and DataCacheFileObject, both will give direct access to the
File object. This object should be used along with java.nio to provide random
buffered access to files. The actual manipuation of the buffers will be highly
dependent on the data in the files and cannot be abstracted to the cache layer.
Original Bugzilla ID was 1909
Also available in: Atom
PDF