Show Table of Contents
15.6.2. 从管理 CLI 启用 Infinispan 统计信息的采集
过程 15.4. 从管理 CLI 启用 Infinispan 统计信息的采集
在这个过程里:
CACHE_CONTAINER是首选的cache-container(例如,web)。CACHE_TYPE是首选的缓存类型(例如,distributed-cache)。CACHE是缓存名称(例如,dist)。
- 输入下列命令:
/subsystem=infinispan/cache-container=CACHE_CONTAINER/CACHE_TYPE=CACHE:write-attribute(name=statistics-enabled,value=true)
- 输入下列命令来重载服务器:
:reload
注意
要取消属性定义,请输入下列命令:
/subsystem=infinispan/cache-container=CACHE_CONTAINER/CACHE_TYPE=CACHE:undefine-attribute(name=statistics-enabled)

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.