此功能部件提供可通过 DistributedMap API 访问的本地高速缓存服务。在位于“services/cache/distributedmap”处的 JNDI 中绑定了缺省高速缓存。可通过添加网络高速缓存提供程序(例如 WebSphere eXtreme Scale)分发高速缓存。
要启用 Distributed Map interface for Dynamic Caching 功能部件,请在 server.xml 文件中的 featureManager 元素内添加以下元素声明:
<feature>distributedMap-1.0</feature>
如果正在开发依赖于 Distributed Map interface for Dynamic Caching 功能部件的功能部件,请将以下项包括在新功能部件的功能部件清单文件的 Subsystem-Content 头中:
com.ibm.websphere.appserver.distributedMap-1.0; type="osgi.subsystem.feature"