Allows the temporary storage parameters to be optionally overridden.
More...
#include <jawsmako/types.h>
Allows the temporary storage parameters to be optionally overridden.
◆ CTemporaryStoreParameters()
JawsMako::CTemporaryStoreParameters::CTemporaryStoreParameters |
( |
uint64 | memoryLimit = 0, |
|
|
uint64 | diskLimit = 0, |
|
|
uint32 | blockSize = 0 ) |
|
inline |
Initialise the temporary store parameter block.
- Parameters
-
memoryLimit | Set 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. |
diskLimit | Set 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. |
blockSize | Set 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
- That is, (diskLimit + memoryLimit) / blockSize must be less than 2147483647.
|
◆ m_blockSize
uint32 JawsMako::CTemporaryStoreParameters::m_blockSize |
◆ m_diskLimit
uint64 JawsMako::CTemporaryStoreParameters::m_diskLimit |
◆ m_memoryLimit
uint64 JawsMako::CTemporaryStoreParameters::m_memoryLimit |
The documentation for this class was generated from the following file: