MetadataCacheSize Property

The size of the metadata cache.

Syntax

ANSI (Cross Platform)
int GetMetadataCacheSize();
int SetMetadataCacheSize(int iMetadataCacheSize); Unicode (Windows) INT GetMetadataCacheSize();
INT SetMetadataCacheSize(INT iMetadataCacheSize);
#define PID_CBFS_METADATACACHESIZE 20

CBFSCONNECT_EXTERNAL void* CBFSCONNECT_CALL CBFSConnect_CBFS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
CBFSCONNECT_EXTERNAL int CBFSCONNECT_CALL CBFSConnect_CBFS_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

2048

Remarks

This property specifies the size of the file metadata cache as a number of entries. The value must be a positive number. The maximum valid value is 65536.

Please refer to the MetadataCacheEnabled property, as well as the Caching topic, for more information.

Note: This property cannot be changed within events.

This property is not available at design time.

Data Type

Integer

Copyright (c) 2022 Callback Technologies, Inc. - All rights reserved.
CBFS Connect 2020 C++ Edition - Version 20.0 [Build 8348]