Jump To Close Expand all Collapse all Table of contents Data Grid Developer Guide 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. Configuring the Data Grid Maven repository Expand section "1. Configuring the Data Grid Maven repository" Collapse section "1. Configuring the Data Grid Maven repository" 1.1. Downloading the Data Grid Maven repository 1.2. Adding Red Hat Maven repositories 1.3. Configuring your Data Grid POM 2. Cache Managers Expand section "2. Cache Managers" Collapse section "2. Cache Managers" 2.1. Obtaining caches 2.2. Clustering Information 2.3. Member Information 3. Cache Interface Expand section "3. Cache Interface" Collapse section "3. Cache Interface" 3.1. Cache API Expand section "3.1. Cache API" Collapse section "3.1. Cache API" 3.1.1. Performance Concerns of Certain Map Methods 3.1.2. Mortal and Immortal Data 3.1.3. putForExternalRead operation 3.2. AdvancedCache API Expand section "3.2. AdvancedCache API" Collapse section "3.2. AdvancedCache API" 3.2.1. Flags 3.3. Listeners and Notifications Expand section "3.3. Listeners and Notifications" Collapse section "3.3. Listeners and Notifications" 3.3.1. Cache-level notifications Expand section "3.3.1. Cache-level notifications" Collapse section "3.3.1. Cache-level notifications" 3.3.1.1. Cluster Listeners 3.3.1.2. Event filtering and conversion 3.3.1.3. Initial State Events 3.3.1.4. Duplicate Events 3.3.2. Cache manager-level notifications 3.3.3. Synchronicity of events Expand section "3.3.3. Synchronicity of events" Collapse section "3.3.3. Synchronicity of events" 3.3.3.1. Asynchronous thread pool 3.4. Asynchronous API Expand section "3.4. Asynchronous API" Collapse section "3.4. Asynchronous API" 3.4.1. Why use such an API? 3.4.2. Which processes actually happen asynchronously? 4. Clustered Locks Expand section "4. Clustered Locks" Collapse section "4. Clustered Locks" 4.1. Lock API 4.2. Using Clustered Locks 4.3. Configuring Internal Caches for Locks 5. Clustered Counters Expand section "5. Clustered Counters" Collapse section "5. Clustered Counters" 5.1. Installation and Configuration Expand section "5.1. Installation and Configuration" Collapse section "5.1. Installation and Configuration" 5.1.1. List counter names 5.2. CounterManager interface Expand section "5.2. CounterManager interface" Collapse section "5.2. CounterManager interface" 5.2.1. Remove a counter via CounterManager 5.3. The Counter Expand section "5.3. The Counter" Collapse section "5.3. The Counter" 5.3.1. The StrongCounter interface: when the consistency or bounds matters. Expand section "5.3.1. The StrongCounter interface: when the consistency or bounds matters." Collapse section "5.3.1. The StrongCounter interface: when the consistency or bounds matters." 5.3.1.1. Bounded StrongCounter 5.3.1.2. Uses cases 5.3.1.3. Usage Examples 5.3.2. The WeakCounter interface: when speed is needed Expand section "5.3.2. The WeakCounter interface: when speed is needed" Collapse section "5.3.2. The WeakCounter interface: when speed is needed" 5.3.2.1. Weak Counter Interface 5.3.2.2. Uses cases 5.3.2.3. Examples 5.4. Notifications and Events 6. Using the CDI Extension Expand section "6. Using the CDI Extension" Collapse section "6. Using the CDI Extension" 6.1. CDI Dependencies 6.2. Injecting Embedded Caches 6.3. Injecting Remote Caches 6.4. JCache Caching Annotations 6.5. Receiving Cache and Cache Manager Events 7. Locking and Concurrency Expand section "7. Locking and Concurrency" Collapse section "7. Locking and Concurrency" 7.1. Locking implementation details Expand section "7.1. Locking implementation details" Collapse section "7.1. Locking implementation details" 7.1.1. Clustered caches and locks 7.1.2. The LockManager 7.1.3. Lock striping 7.1.4. Concurrency levels 7.1.5. Lock timeout 7.1.6. Consistency 7.2. Data Versioning 8. Transactions Expand section "8. Transactions" Collapse section "8. Transactions" 8.1. Configuring transactions 8.2. Isolation levels 8.3. Transaction locking Expand section "8.3. Transaction locking" Collapse section "8.3. Transaction locking" 8.3.1. Pessimistic transactional cache 8.3.2. Optimistic transactional cache 8.3.3. What do I need - pessimistic or optimistic transactions? 8.4. Write Skews Expand section "8.4. Write Skews" Collapse section "8.4. Write Skews" 8.4.1. Forcing write locks on keys in pessimitic transactions 8.5. Dealing with exceptions 8.6. Enlisting Synchronizations 8.7. Batching Expand section "8.7. Batching" Collapse section "8.7. Batching" 8.7.1. API 8.7.2. Batching and JTA 8.8. Transaction recovery Expand section "8.8. Transaction recovery" Collapse section "8.8. Transaction recovery" 8.8.1. When to use recovery 8.8.2. How does it work 8.8.3. Configuring recovery Expand section "8.8.3. Configuring recovery " Collapse section "8.8.3. Configuring recovery " 8.8.3.1. Enable JMX support 8.8.4. Recovery cache 8.8.5. Integration with the transaction manager 8.8.6. Reconciliation Expand section "8.8.6. Reconciliation" Collapse section "8.8.6. Reconciliation" 8.8.6.1. Force commit/rollback based on XID 9. Executing Code in the Grid Expand section "9. Executing Code in the Grid" Collapse section "9. Executing Code in the Grid" 9.1. Cluster Executor Expand section "9.1. Cluster Executor" Collapse section "9.1. Cluster Executor" 9.1.1. Filtering execution nodes 9.1.2. Timeout 9.1.3. Single Node Submission Expand section "9.1.3. Single Node Submission" Collapse section "9.1.3. Single Node Submission" 9.1.3.1. Failover 9.1.4. Example: PI Approximation 10. Streams Expand section "10. Streams" Collapse section "10. Streams" 10.1. Common stream operations 10.2. Key filtering 10.3. Segment based filtering 10.4. Local/Invalidation 10.5. Example 10.6. Distribution/Replication/Scattered Expand section "10.6. Distribution/Replication/Scattered" Collapse section "10.6. Distribution/Replication/Scattered" 10.6.1. Rehash Aware 10.6.2. Serialization 10.7. Parallel Computation 10.8. Task timeout 10.9. Injection 10.10. Distributed Stream execution 10.11. Key based rehash aware operators 10.12. Intermediate operation exceptions 10.13. Examples 11. JCache (JSR-107) API Expand section "11. JCache (JSR-107) API" Collapse section "11. JCache (JSR-107) 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. Creating remote caches Expand section "11.2. Creating remote caches" Collapse section "11.2. Creating remote caches" 11.2.1. Configuring remote caches 11.3. Store and retrieve data 11.4. Comparing java.util.concurrent.ConcurrentMap and javax.cache.Cache APIs 11.5. Clustering JCache instances 12. Multimap Cache Expand section "12. Multimap Cache" Collapse section "12. Multimap Cache" 12.1. Installation and configuration 12.2. MultimapCache API 12.3. Creating a Multimap Cache Expand section "12.3. Creating a Multimap Cache" Collapse section "12.3. Creating a Multimap Cache" 12.3.1. Embedded mode 12.4. Limitations Expand section "12.4. Limitations" Collapse section "12.4. Limitations" 12.4.1. Support for duplicates 12.4.2. Eviction 12.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 14. Externalizing HTTP sessions from Red Hat JBoss Web Server to Red Hat Data Grid Expand section "14. Externalizing HTTP sessions from Red Hat JBoss Web Server to Red Hat Data Grid" Collapse section "14. Externalizing HTTP sessions from Red Hat JBoss Web Server to Red Hat Data Grid" 14.1. Installing the Tomcat session client 14.2. Configuring the session manager Expand section "14.2. Configuring the session manager" Collapse section "14.2. Configuring the session manager" 14.2.1. Hot Rod manager configuration properties 15. Custom Interceptors Expand section "15. Custom Interceptors" Collapse section "15. Custom Interceptors" 15.1. Adding custom interceptors declaratively 15.2. Adding custom interceptors programmatically 15.3. Custom interceptor design 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 Data Grid Developer Guide Red Hat Data Grid 8.3Use Data Grid APIs to customize, configure, and extend your deploymentRed Hat Customer Content ServicesLegal NoticeAbstract Use Data Grid APIs to customize, configure, and extend your deployment. Next