Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 3. The Multimap Cache
3.1. The Multimap Cache Link kopierenLink in die Zwischenablage kopiert!
The MultimapCache
is a cache that maps keys to values in which each key can contain multiple values. It currently only functions in Library Mode.
3.2. Installing MultimapCache using Maven Link kopierenLink in die Zwischenablage kopiert!
To make the MultimapCache
available in the Maven project configure the pom.xml
as follows:
pom.xml
<dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-multimap</artifactId> <version>...</version> <!-- 7.2.0 or later --> </dependency>
<dependency>
<groupId>org.infinispan</groupId>
<artifactId>infinispan-multimap</artifactId>
<version>...</version> <!-- 7.2.0 or later -->
</dependency>
3.3. Creating a Multimap Cache Link kopierenLink in die Zwischenablage kopiert!
Create a MultimapCache
using code like the following:
3.4. Example MultimapCache Usage Link kopierenLink in die Zwischenablage kopiert!
Below is code demonstrating how to use MultimapCache
: