This feature provides a local cache service which can be accessed through the DistributedMap API. A default cache is bound in JNDI at "services/cache/distributedmap". Caches can be distributed through addition of a network cache provider such as WebSphere eXtreme Scale.
Enabling this feature
To enable the Distributed Map interface for Dynamic Caching 1.0 feature, add the following element declaration into your server.xml
file, inside the featureManager
element:
<feature>distributedMap-1.0</feature>
Feature configuration elements
Liberty API packages provided by this feature
-
com.ibm.websphere.cache
-
com.ibm.websphere.cache.exception
-
com.ibm.websphere.exception
-
com.ibm.ws.cache.spi
-
com.ibm.wsspi.cache
Features that this feature enables
Supported Java versions
-
JavaSE-1.8
-
JavaSE-11.0
-
JavaSE-17.0
-
JavaSE-21.0
-
JavaSE-23.0
Features that enable this feature
Developing a feature that depends on this feature
If you are developing a feature that depends on this feature, include the following item in the Subsystem-Content
header in your feature manifest file.
com.ibm.websphere.appserver.distributedMap-1.0; type="osgi.subsystem.feature"