ENCINA(3) — Subroutines
NAME
tisam_SetCaching - enables or disables insert and read caching
SYNOPSIS
int tisam_SetCaching (
IN int fileDescriptor,
IN unsigned long readSize,
IN unsigned long insertSize,
IN unsigned long flags)
PARAMETERS
fileDescriptor Specifies the ISAM file descriptor.
readSize Specifies the size of the read cache, in pages. If the value is 0, the read cache is disabled.
insertSize Specifies the size of the insert cache, in pages. If the value is 0, the insert cache is disabled.
flags Specifies any caching restrictions to be relaxed. For a listing of the available flags, refer to the sfs_InitializeCache function. When specifying a flag, use only that portion after the SFS_CACHE_ prefix; for example, to specify the SFS_CACHE_ALLOW_DIRTY_READS, use ALLOW_DIRTY_READS.
DESCRIPTION
The tisam_SetCaching function enables or disables caching for individual ISAM files. For more information on the parameters and use of this function, refer to the sfs_InitializeCache function.
RELATED INFORMATION
Encina SFS Programming Guide
sfs_InitializeCache
— March 1997