Daylight v4.9 Release Date: 1 February 2008 Namedt_thor_cache - specify the caching strategy for a databaseGeneric Prototypedt_thor_cache(dt_Handle, dt_Integer) => dt_BooleanC Prototype#include "dt_thor.h"dt_Boolean dt_thor_cache(dt_Handle database, dt_Integer level) FORTRAN Prototypeinclude 'dt_f_thor.inc'logical dt_f_thor_cache(database, level)
integer*4 database
DescriptionEnables caching, at the specified level 'level' for the database. Levels are:DX_THOR_CACHE_OFF no caching DX_THOR_CACHE_WRITETHRU write-thru cache of hash table DX_THOR_CACHE_READWRITE complete cache of hash table DX_THOR_CACHE_WRITETHRU_ALL write-thru cache of everything DX_THOR_CACHE_READWRITE_ALL complete cache of everythingNote that the server is free to silently ignore any and all caching requests, depending on the version and implementation of the server. Return ValueReturns the success (TRUE) or failure (FALSE) of the operation.Related Topicsdt_thor_cachecontrol(3) dt_thor_cachesync(3) dt_hold(3) |