Parameters to initialize eHVD cache reactor. More...
#include "rf_library.h"
Data Fields | |
| size_t | size |
| Size of this structure. | |
| int | port |
| The port number that the HVD cache will listen on. More... | |
| size_t | cache_limit |
| The total cache memory limit. More... | |
| int | cache_policy |
| The cache purging policy. More... | |
| unsigned int | n_instances |
| The number of cache instances hosted. | |
| RF_HVD_CACHE_INSTANCE ** | instances |
| An array of n_instances pointers to HVD cache instance parameters. | |
Parameters to initialize eHVD cache reactor.
| size_t RF_HVD_CACHE_PARAMS::cache_limit |
The total cache memory limit.
If the cache size exceeds this, the cache implementation will attempt to reduce size by compressing, purging, or removing raster data, as allowed by the implementation. If the limit is zero, the cache size will be read from the HVDCacheLimit parameter of the global configuration. If this limit is also zero, then the cache size is unbounded.
| int RF_HVD_CACHE_PARAMS::cache_policy |
The cache purging policy.
If the cache needs to reduce size because it exceeeded the cache memory limit, this policy determines which elements will be selected for compressing, purging, or removal first.
See HVD_cache_policy, HVD_cache_policy_values and HVD_PURGE_NEXT for a description of how HVD cache policies are constructed.
| int RF_HVD_CACHE_PARAMS::port |
The port number that the HVD cache will listen on.
If this is 0, then the default HVD cache port will be used. On the central blade, this port is likely to be taken by the Scalable RIP itself, so an alternate port number should be used to host an HVD cache in a different process.