1 Star 0 Fork 4.9K

Lin_bruin / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Utils_config.md 4.30 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

Utils_config

Overview

Represents the configuration file of the utils subsystem.

Vendors can set their desired items in the configuration file.

Since:

1.0

Version:

1.0

Summary

Files

File Name

Description

utils_config.h

Represents the configuration file of the utils subsystem.

Macros

Macro Name and Value

Description

FEATURE_KV_CACHE

Specifies whether the KV store supports cache.

MAX_CACHE_SIZE   10

Indicates the number of data items that can be stored in the KV store cache.

MAX_KV_SUM   50

Indicates the number of data items that can be stored for each application.

Details

Macro Definition Documentation

FEATURE_KV_CACHE

#define FEATURE_KV_CACHE

Description:

Specifies whether the KV store supports cache.

If this variable is defined, the KV store supports cache. Vendors determine whether to enable this feature. It is enabled by default.

MAX_CACHE_SIZE

#define MAX_CACHE_SIZE   10

Description:

Indicates the number of data items that can be stored in the KV store cache.

Default value: 10

MAX_KV_SUM

#define MAX_KV_SUM   50

Description:

Indicates the number of data items that can be stored for each application.

Default value: 50

1
https://gitee.com/dreaminghell/docs.git
git@gitee.com:dreaminghell/docs.git
dreaminghell
docs
docs
master

搜索帮助