此内容没有您所选择的语言版本。

4.2. About Cache Containers


Cache containers are used in JBoss Data Grid's Remote Client-Server mode as a starting point for a cache. The cache-container element acts as a parent of one or more (local or clustered) caches. To add clustered caches to the container, transport must be defined.
The following is a sample cache container configuration:
<subsystem xmlns="urn:infinispan:server:core:5.2" 
	   default-cache-container="default">
	<cache-container name="default" 
			 default-cache="default" 
			 listener-executor="infinispan-listener" 
			 start="EAGER">
		<local-cache ... >
			...
		</local-cache>
	</cache-container>
</subsystem>
The cache-container element specifies information about the cache container using the following parameters:
  • The name parameter defines the name of the cache container.
  • The default-cache parameter defines the name of the default cache used with the cache container.
  • The listener-executor defines the executor used for asynchronous cache listener notifications.
  • The start parameter indicates when the cache container starts, i.e. whether it will start lazily when requested or "eagerly" when the server starts up. Valid values for this parameter are EAGER and LAZY.
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部