Mako 7.3.0 API
JawsMako::CTemporaryStoreParameters Class Reference

Allows the temporary storage parameters to be optionally overridden. More...

#include <types.h>

Public Member Functions

 CTemporaryStoreParameters (uint64 memoryLimit=0, uint64 diskLimit=0, uint32 blockSize=0)
 Initialise the temporary store parameter block. More...
 

Detailed Description

Allows the temporary storage parameters to be optionally overridden.

Constructor & Destructor Documentation

◆ CTemporaryStoreParameters()

JawsMako::CTemporaryStoreParameters::CTemporaryStoreParameters ( uint64  memoryLimit = 0,
uint64  diskLimit = 0,
uint32  blockSize = 0 
)
inline

Initialise the temporary store parameter block.

Parameters
memoryLimitSet the limit, in bytes, on data stored in memory by the temporary store (IEDLTempStore). Pass zero to use the default for the current platform. The maximum is 32GB, though of course on 32 bit systems, it will need to be less than 4GB. The value given will be rounded down to a multiple of the block size.
diskLimitSet the limit, in bytes, on data stored on disk by the temporary store (IEDLTempStore). Pass zero to use the default for the current platform. The maximum is currently 256GB, however for Android this is currently limited to 2GB. The value given will be rounded down to a multiple of the block size.
blockSizeSet the block size to use. The default is currently 4096 bytes. Each file in the temporary store will occupy a multiple of the block size. Note that currently, the total number of blocks must be less than
  1. That is, (diskLimit + memoryLimit) / blockSize must be less than 2147483647.

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