An official website of the United States government
Here’s how you know
Official websites use .gov
A
.gov website belongs to an official government
organization in the United States.
Secure .gov websites use HTTPS
A
lock
( ) or https:// means you’ve safely connected to
the .gov website. Share sensitive information only on official,
secure websites.
Isis Developer Reference
|
This algorithm is designed for applications that use ProcessByQuickFilter or very similar I/O patterns to cache cube data appropriately. More...
#include <FilterCachingAlgorithm.h>
Public Member Functions | |
FilterCachingAlgorithm (int numParallelIOs) | |
Construct a new FilterCachingAlgorithm. | |
virtual | ~FilterCachingAlgorithm () |
Frees the memory allocated by this caching algorithm. | |
virtual CacheResult | recommendChunksToFree (QList< RawCubeChunk * > allocated, QList< RawCubeChunk * > justUsed, const Buffer &justRequested) |
Please see the class description for how this algorithm works. | |
This algorithm is designed for applications that use ProcessByQuickFilter or very similar I/O patterns to cache cube data appropriately.
The last numParallelIOs worth of I/Os will be left in the cache.
Isis::FilterCachingAlgorithm::FilterCachingAlgorithm | ( | int | numParallelIOs | ) |
Construct a new FilterCachingAlgorithm.
The last numParallelIOs will be kept in the cache, while the other chunks in the cache will all be tossed.
numParallelIOs | The number of IO operations to keep the chunks around for. |
|
virtual |
Frees the memory allocated by this caching algorithm.
|
virtual |
Please see the class description for how this algorithm works.
allocated | All of the allocated cube chunks |
justUsed | The cube chunks used in the last I/O |
justRequested | The buffer passed into the last I/O |
Implements Isis::CubeCachingAlgorithm.