Harlequin RIP SDK

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.
 

Detailed Description

Parameters to initialize eHVD cache reactor.

Field Documentation

◆ cache_limit

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.

◆ cache_policy

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.

◆ port

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.


The documentation for this struct was generated from the following file: