Jump To Close Expand all Collapse all Table of contents Embedding Data Grid in Java Applications Red Hat Data Grid Expand section "Red Hat Data Grid" Collapse section "Red Hat Data Grid" Data Grid documentation Data Grid downloads Making open source more inclusive Providing feedback on Red Hat documentation 1. Adding Data Grid to your Maven repository Expand section "1. Adding Data Grid to your Maven repository" Collapse section "1. Adding Data Grid to your Maven repository" 1.1. Downloading the Maven repository 1.2. Adding Red Hat Maven repositories 1.3. Configuring your project POM 2. Creating embedded caches Expand section "2. Creating embedded caches" Collapse section "2. Creating embedded caches" 2.1. Adding Data Grid to your project 2.2. Creating and using embedded caches 2.3. Cache API Expand section "2.3. Cache API" Collapse section "2.3. Cache API" 2.3.1. AdvancedCache API Expand section "2.3.1. AdvancedCache API" Collapse section "2.3.1. AdvancedCache API" 2.3.1.1. Flags 2.3.2. Asynchronous API Expand section "2.3.2. Asynchronous API" Collapse section "2.3.2. Asynchronous API" 2.3.2.1. Why use such an API? 2.3.2.2. Which processes actually happen asynchronously? 3. Programmatically configuring user roles and permissions Expand section "3. Programmatically configuring user roles and permissions" Collapse section "3. Programmatically configuring user roles and permissions" 3.1. Data Grid user roles and permissions Expand section "3.1. Data Grid user roles and permissions" Collapse section "3.1. Data Grid user roles and permissions" 3.1.1. Permissions 3.1.2. Role and permission mappers 3.1.3. Configuring role mappers 3.2. Enabling and configuring authorization for embedded caches 3.3. Adding authorization roles at runtime 3.4. Executing code with secure caches 3.5. Configuring the access control list (ACL) cache 4. Enabling and configuring Data Grid statistics and JMX monitoring Expand section "4. Enabling and configuring Data Grid statistics and JMX monitoring" Collapse section "4. Enabling and configuring Data Grid statistics and JMX monitoring" 4.1. Enabling statistics in embedded caches 4.2. Configuring Data Grid metrics 4.3. Registering JMX MBeans Expand section "4.3. Registering JMX MBeans" Collapse section "4.3. Registering JMX MBeans" 4.3.1. Enabling JMX remote ports 4.3.2. Data Grid MBeans 4.3.3. Registering MBeans in custom MBean servers 4.4. Exporting metrics during a state transfer operation 4.5. Monitoring the status of cross-site replication 5. Setting up Data Grid cluster transport Expand section "5. Setting up Data Grid cluster transport" Collapse section "5. Setting up Data Grid cluster transport" 5.1. Default JGroups stacks 5.2. Cluster discovery protocols Expand section "5.2. Cluster discovery protocols" Collapse section "5.2. Cluster discovery protocols" 5.2.1. PING 5.2.2. TCPPING 5.2.3. MPING 5.2.4. TCPGOSSIP 5.2.5. JDBC_PING 5.2.6. DNS_PING 5.2.7. Cloud discovery protocols 5.3. Using the default JGroups stacks 5.4. Customizing JGroups stacks Expand section "5.4. Customizing JGroups stacks" Collapse section "5.4. Customizing JGroups stacks" 5.4.1. Inheritance attributes 5.5. Using JGroups system properties Expand section "5.5. Using JGroups system properties" Collapse section "5.5. Using JGroups system properties" 5.5.1. Cluster transport properties 5.5.2. System properties for cloud discovery protocols Expand section "5.5.2. System properties for cloud discovery protocols" Collapse section "5.5.2. System properties for cloud discovery protocols" 5.5.2.1. Amazon EC2 5.5.2.2. Google Cloud Platform 5.5.2.3. Azure 5.5.2.4. OpenShift 5.6. Using inline JGroups stacks 5.7. Using external JGroups stacks 5.8. Using custom JChannels 5.9. Encrypting cluster transport Expand section "5.9. Encrypting cluster transport" Collapse section "5.9. Encrypting cluster transport" 5.9.1. JGroups encryption protocols 5.9.2. Securing cluster transport with asymmetric encryption 5.9.3. Securing cluster transport with symmetric encryption 5.10. TCP and UDP ports for cluster traffic 6. Clustered Locks Expand section "6. Clustered Locks" Collapse section "6. Clustered Locks" 6.1. Lock API 6.2. Using Clustered Locks 6.3. Configuring Internal Caches for Locks 7. Executing code in the grid Expand section "7. Executing code in the grid" Collapse section "7. Executing code in the grid" 7.1. Cluster Executor Expand section "7.1. Cluster Executor" Collapse section "7.1. Cluster Executor" 7.1.1. Filtering execution nodes 7.1.2. Timeout 7.1.3. Single Node Submission Expand section "7.1.3. Single Node Submission" Collapse section "7.1.3. Single Node Submission" 7.1.3.1. Failover 7.1.4. Example: PI Approximation 8. Using the Streams API for code execution 9. Streams Expand section "9. Streams" Collapse section "9. Streams" 9.1. Common stream operations 9.2. Key filtering 9.3. Segment based filtering 9.4. Local/Invalidation 9.5. Example 9.6. Distribution/Replication/Scattered Expand section "9.6. Distribution/Replication/Scattered" Collapse section "9.6. Distribution/Replication/Scattered" 9.6.1. Rehash Aware 9.6.2. Serialization 9.7. Parallel Computation 9.8. Task timeout 9.9. Injection 9.10. Distributed Stream execution 9.11. Key based rehash aware operators 9.12. Intermediate operation exceptions 9.13. Examples 10. Using the CDI Extension Expand section "10. Using the CDI Extension" Collapse section "10. Using the CDI Extension" 10.1. CDI Dependencies 10.2. Injecting Embedded Caches 10.3. Injecting Remote Caches 10.4. JCache Caching Annotations 10.5. Receiving Cache and Cache Manager Events 11. Using the JCache API Expand section "11. Using the JCache API" Collapse section "11. Using the JCache API" 11.1. Creating embedded caches Expand section "11.1. Creating embedded caches" Collapse section "11.1. Creating embedded caches" 11.1.1. Configuring embedded caches 11.2. Store and retrieve data 11.3. Comparing java.util.concurrent.ConcurrentMap and javax.cache.Cache APIs 11.4. Clustering JCache instances 12. Multimap cache Expand section "12. Multimap cache" Collapse section "12. Multimap cache" 12.1. Multimap Cache Expand section "12.1. Multimap Cache" Collapse section "12.1. Multimap Cache" 12.1.1. Installation and configuration 12.1.2. MultimapCache API 12.1.3. Creating a Multimap Cache Expand section "12.1.3. Creating a Multimap Cache" Collapse section "12.1.3. Creating a Multimap Cache" 12.1.3.1. Embedded mode 12.1.4. Limitations Expand section "12.1.4. Limitations" Collapse section "12.1.4. Limitations" 12.1.4.1. Support for duplicates 12.1.4.2. Eviction 12.1.4.3. Transactions 13. Data Grid Modules for Red Hat JBoss EAP Expand section "13. Data Grid Modules for Red Hat JBoss EAP" Collapse section "13. Data Grid Modules for Red Hat JBoss EAP" 13.1. Installing Data Grid Modules 13.2. Configuring Applications to Use Data Grid Modules Legal Notice Settings Close Language: 简体中文 日本語 English Language: 简体中文 日本語 English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Language and Page Formatting Options Language: 简体中文 日本語 English Language: 简体中文 日本語 English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Embedding Data Grid in Java Applications Red Hat Data Grid 8.4Create embedded caches with Data GridRed Hat Customer Content ServicesLegal NoticeAbstract Add Data Grid to Java projects and use embedded caches with your applications. Next