Jump To Close Expand all Collapse all Table of contents Administration and Configuration Guide Preface 1. JBoss Data Grid Expand section "1. JBoss Data Grid" Collapse section "1. JBoss Data Grid" 1.1. About JBoss Data Grid 1.2. JBoss Data Grid Usage Modes 1.3. JBoss Data Grid Benefits 1.4. JBoss Data Grid Prerequisites 1.5. JBoss Data Grid Version Information 1.6. JBoss Data Grid Cache Architecture 1.7. JBoss Data Grid APIs Expand section "1.7. JBoss Data Grid APIs" Collapse section "1.7. JBoss Data Grid APIs" 1.7.1. JBoss Data Grid APIs 1.7.2. About the Asynchronous API 1.7.3. About the Batching API 1.7.4. About the Cache API 1.7.5. About the RemoteCache Interface 1.8. Tools and Operations Expand section "1.8. Tools and Operations" Collapse section "1.8. Tools and Operations" 1.8.1. About Management Tools 1.8.2. Accessing Data via URLs 1.8.3. Limitations of Map Methods 2. Logging in JBoss Data Grid Expand section "2. Logging in JBoss Data Grid" Collapse section "2. Logging in JBoss Data Grid" 2.1. An Overview of Logging in JBoss Data Grid 2.2. Supported Application Logging Frameworks Expand section "2.2. Supported Application Logging Frameworks" Collapse section "2.2. Supported Application Logging Frameworks" 2.2.1. Supported Application Logging Frameworks 2.2.2. About JBoss Logging 2.2.3. JBoss Logging Features 2.3. Configure Logging Expand section "2.3. Configure Logging" Collapse section "2.3. Configure Logging" 2.3.1. About Boot Logging 2.3.2. Configure Boot Logging 2.3.3. Default Log File Locations 2.4. Logging Attributes Expand section "2.4. Logging Attributes" Collapse section "2.4. Logging Attributes" 2.4.1. About Log Levels 2.4.2. Supported Log Levels 2.4.3. About Log Categories 2.4.4. About the Root Logger 2.4.5. About Log Handlers 2.4.6. Log Handler Types 2.4.7. About Log Formatters 2.5. Logging Configuration Properties Expand section "2.5. Logging Configuration Properties" Collapse section "2.5. Logging Configuration Properties" 2.5.1. Root Logger Properties 2.5.2. Log Category Properties 2.5.3. Console Log Handler Properties 2.5.4. File Log Handler Properties 2.5.5. Periodic Log Handler Properties 2.5.6. Size Log Handler Properties 2.5.7. Async Log Handler Properties 2.6. Logging Sample Configurations Expand section "2.6. Logging Sample Configurations" Collapse section "2.6. Logging Sample Configurations" 2.6.1. Sample XML Configuration for the Root Logger 2.6.2. Sample XML Configuration for a Log Category 2.6.3. Sample XML Configuration for a Console Log Handler 2.6.4. Sample XML Configuration for a File Log Handler 2.6.5. Sample XML Configuration for a Periodic Log Handler 2.6.6. Sample XML Configuration for a Size Log Handler 2.6.7. Sample XML Configuration for a Async Log Handler 3. High Availability Using Server Hinting Expand section "3. High Availability Using Server Hinting" Collapse section "3. High Availability Using Server Hinting" 3.1. About Server Hinting 3.2. Establishing Server Hinting with JGroups 3.3. Configure Server Hinting in Remote Client-Server Mode 3.4. Configure Server Hinting in Library Mode 4. Cache Modes Expand section "4. Cache Modes" Collapse section "4. Cache Modes" 4.1. About Cache Modes 4.2. Local Mode Expand section "4.2. Local Mode" Collapse section "4.2. Local Mode" 4.2.1. About Local Mode 4.2.2. Local Mode Operations 4.2.3. Configure Local Mode 4.3. Clustered Modes Expand section "4.3. Clustered Modes" Collapse section "4.3. Clustered Modes" 4.3.1. About Clustered Modes 4.3.2. Clustered Mode Operations 4.3.3. Asynchronous and Synchronous Operations 4.3.4. Cache Mode Troubleshooting 5. Distribution Mode Expand section "5. Distribution Mode" Collapse section "5. Distribution Mode" 5.1. About Distribution Mode 5.2. Distribution Mode's Consistent Hash Algorithm 5.3. Locating Entries in Distribution Mode 5.4. Return Values in Distribution Mode 5.5. Configure Distribution Mode 5.6. Synchronous and Asynchronous Distribution Expand section "5.6. Synchronous and Asynchronous Distribution" Collapse section "5.6. Synchronous and Asynchronous Distribution" 5.6.1. About Synchronous and Asynchronous Distribution 5.7. GET and PUT Usage in Distribution Mode Expand section "5.7. GET and PUT Usage in Distribution Mode" Collapse section "5.7. GET and PUT Usage in Distribution Mode" 5.7.1. About GET and PUT Operations in Distribution Mode 5.7.2. Distributed GET and PUT Operation Resource Usage 6. Replication Mode Expand section "6. Replication Mode" Collapse section "6. Replication Mode" 6.1. About Replication Mode 6.2. Optimized Replication Mode Usage 6.3. Return Values in Replication Mode 6.4. Configure Replication Mode 6.5. Synchronous and Asynchronous Replication Expand section "6.5. Synchronous and Asynchronous Replication" Collapse section "6.5. Synchronous and Asynchronous Replication" 6.5.1. Synchronous and Asynchronous Replication 6.5.2. Troubleshooting Asynchronous Replication Behavior 6.6. The Replication Queue Expand section "6.6. The Replication Queue" Collapse section "6.6. The Replication Queue" 6.6.1. Replication Queue 6.6.2. Replication Queue Operations 6.6.3. Replication Queue Usage 6.7. Frequently Asked Questions Expand section "6.7. Frequently Asked Questions" Collapse section "6.7. Frequently Asked Questions" 6.7.1. About Replication Guarantees 6.7.2. Replication Traffic on Internal Networks 7. Invalidation Mode Expand section "7. Invalidation Mode" Collapse section "7. Invalidation Mode" 7.1. About Invalidation Mode 7.2. Using Invalidation Mode 7.3. Configure Invalidation Mode 7.4. Synchronous/Asynchronous Invalidation 7.5. The L1 Cache Invalidation Expand section "7.5. The L1 Cache Invalidation" Collapse section "7.5. The L1 Cache Invalidation" 7.5.1. The L1 Cache and Invalidation 8. Cache Writing Modes Expand section "8. Cache Writing Modes" Collapse section "8. Cache Writing Modes" 8.1. Write-Through and Write-Behind Caching 8.2. Write-Through Caching Expand section "8.2. Write-Through Caching" Collapse section "8.2. Write-Through Caching" 8.2.1. About Write-Through Caching 8.2.2. Write-Through Caching Benefits 8.2.3. Write-Through Caching Configuration (Library Mode) 8.3. Write-Behind Caching Expand section "8.3. Write-Behind Caching" Collapse section "8.3. Write-Behind Caching" 8.3.1. About Write-Behind Caching 8.3.2. Write-Behind Caching Configuration 8.3.3. About Unscheduled Write-Behind Strategy 8.3.4. Unscheduled Write-Behind Strategy Library Configuration 8.3.5. Unscheduled Write-Behind Strategy Remote Configuration 9. Locking Expand section "9. Locking" Collapse section "9. Locking" 9.1. About Optimistic Locking 9.2. About Pessimistic Locking 9.3. Pessimistic Locking Types 9.4. Explicit Pessimistic Locking Example 9.5. Implicit Pessimistic Locking Example 9.6. Configure Optimistic and Pessimistic Locking 9.7. Locking Operations Expand section "9.7. Locking Operations" Collapse section "9.7. Locking Operations" 9.7.1. About the LockManager 9.7.2. About Lock Acquisition 9.7.3. About Concurrency Levels 9.8. Lock Striping Expand section "9.8. Lock Striping" Collapse section "9.8. Lock Striping" 9.8.1. About Lock Striping 9.8.2. Configure Lock Striping 9.8.3. Alternatives to Lock Striping 9.8.4. Configure the Shared Lock Collection Size 9.9. Isolation Levels Expand section "9.9. Isolation Levels" Collapse section "9.9. Isolation Levels" 9.9.1. About Isolation Levels 9.9.2. About READ_COMMITTED 9.9.3. About REPEATABLE_READ 10. Cache Stores and Cache Loaders Expand section "10. Cache Stores and Cache Loaders" Collapse section "10. Cache Stores and Cache Loaders" 10.1. About Cache Stores 10.2. About File System Based Cache Stores 10.3. File Cache Store Configuration 10.4. Remote Cache Stores Expand section "10.4. Remote Cache Stores" Collapse section "10.4. Remote Cache Stores" 10.4.1. About Remote Cache Stores 10.4.2. Remote Cache Store Configuration (Remote Client-Server Mode) 10.4.3. Remote Cache Store Configuration (Library Mode) 10.4.4. Remote Cache Store Configuration Attributes 10.4.5. The hotrod.properties File 10.4.6. Define the Outbound Socket for the Remote Cache Store 10.5. JDBC Based Cache Stores Expand section "10.5. JDBC Based Cache Stores" Collapse section "10.5. JDBC Based Cache Stores" 10.5.1. About JDBC Based Cache Stores 10.5.2. JDBC Cache Selection 10.5.3. JdbcBinaryCacheStores 10.5.4. JdbcStringBasedCacheStores 10.5.5. JdbcMixedCacheStore 10.5.6. Custom Cache Stores 10.6. Frequently Asked Questions Expand section "10.6. Frequently Asked Questions" Collapse section "10.6. Frequently Asked Questions" 10.6.1. About Asynchronous Cache Store Modifications 10.7. Cache Store Troubleshooting Expand section "10.7. Cache Store Troubleshooting" Collapse section "10.7. Cache Store Troubleshooting" 10.7.1. IOExceptions with JdbcStringBasedCacheStore 10.8. Cache Loaders Expand section "10.8. Cache Loaders" Collapse section "10.8. Cache Loaders" 10.8.1. About Cache Loaders 10.8.2. Cache Loaders and Cache Stores 10.8.3. Shared Cache Loaders 10.8.4. Connection Factories 11. Cache Managers Expand section "11. Cache Managers" Collapse section "11. Cache Managers" 11.1. About Cache Managers 11.2. Multiple Cache Managers Expand section "11.2. Multiple Cache Managers" Collapse section "11.2. Multiple Cache Managers" 11.2.1. Create Multiple Caches with a Single Cache Manager 11.2.2. Using Multiple Cache Managers 12. Eviction Expand section "12. Eviction" Collapse section "12. Eviction" 12.1. About Eviction 12.2. Eviction Operations 12.3. Eviction Usage 12.4. Eviction Strategies Expand section "12.4. Eviction Strategies" Collapse section "12.4. Eviction Strategies" 12.4.1. About Eviction Strategies 12.4.2. LRU Eviction Algorithm Limitations 12.5. Using Eviction Expand section "12.5. Using Eviction" Collapse section "12.5. Using Eviction" 12.5.1. Initialize Eviction 12.5.2. Default Eviction Configuration 12.5.3. Eviction Configuration Example 12.5.4. Eviction Configuration Troubleshooting 12.6. Eviction and Passivation Expand section "12.6. Eviction and Passivation" Collapse section "12.6. Eviction and Passivation" 12.6.1. About Eviction and Passivation 13. Expiration Expand section "13. Expiration" Collapse section "13. Expiration" 13.1. About Expiration 13.2. Expiration Operations 13.3. Eviction and Expiration Comparison 13.4. Cache Entry Expiration Notifications 13.5. Expiration Configuration 13.6. Mortal and Immortal Data Expand section "13.6. Mortal and Immortal Data" Collapse section "13.6. Mortal and Immortal Data" 13.6.1. About Data Mortality 13.6.2. Default Data Mortality 13.6.3. Configure Data Mortality 13.7. Troubleshooting Expand section "13.7. Troubleshooting" Collapse section "13.7. Troubleshooting" 13.7.1. Expiration Troubleshooting 14. The L1 Cache Expand section "14. The L1 Cache" Collapse section "14. The L1 Cache" 14.1. About the L1 Cache 14.2. L1 Cache Entries Expand section "14.2. L1 Cache Entries" Collapse section "14.2. L1 Cache Entries" 14.2.1. L1 Cache Entries 14.2.2. L1 Cache Entry Life Spans 14.3. L1 Cache Operations Expand section "14.3. L1 Cache Operations" Collapse section "14.3. L1 Cache Operations" 14.3.1. The L1 Cache and Invalidation 14.3.2. Using the L1 Cache with GET Operations 15. Listeners and Notifications Expand section "15. Listeners and Notifications" Collapse section "15. Listeners and Notifications" 15.1. About the Listener API 15.2. Listener Example 15.3. Cache Entry Modified Listener Configuration 15.4. Notifications Expand section "15.4. Notifications" Collapse section "15.4. Notifications" 15.4.1. About Listener Notifications 15.4.2. About Cache-level Notifications 15.4.3. Cache Manager-level Notifications 15.4.4. About Synchronous and Asynchronous Notifications 15.5. Notifying Futures Expand section "15.5. Notifying Futures" Collapse section "15.5. Notifying Futures" 15.5.1. About NotifyingFutures 15.5.2. NotifyingFutures Example 16. Activation and Passivation Modes Expand section "16. Activation and Passivation Modes" Collapse section "16. Activation and Passivation Modes" 16.1. About Activation Mode 16.2. About Passivation Mode 16.3. Passivation Mode Benefits 16.4. About the Passivation Flag 16.5. Eviction and Passivation Expand section "16.5. Eviction and Passivation" Collapse section "16.5. Eviction and Passivation" 16.5.1. About Eviction and Passivation 16.5.2. Eviction and Passivation Usage 16.5.3. Eviction Example when Passivation is Disabled 16.5.4. Eviction Example when Passivation is Enabled 17. Custom Interceptors Expand section "17. Custom Interceptors" Collapse section "17. Custom Interceptors" 17.1. About Custom Interceptors 17.2. Custom Interceptor Design 17.3. Adding Custom Interceptors Expand section "17.3. Adding Custom Interceptors" Collapse section "17.3. Adding Custom Interceptors" 17.3.1. Adding Custom Interceptors Declaratively 17.3.2. Adding Custom Interceptors Programmatically 18. Transactions Expand section "18. Transactions" Collapse section "18. Transactions" 18.1. About Java Transaction API Transactions 18.2. Transactions Spanning Multiple Cache Instances 18.3. Transaction/Batching and Invalidation Messages 18.4. The Transaction Manager Expand section "18.4. The Transaction Manager" Collapse section "18.4. The Transaction Manager" 18.4.1. About JTA Transaction Manager Lookup Classes 18.4.2. Use the Transaction Manager 18.5. Transaction Synchronization Expand section "18.5. Transaction Synchronization" Collapse section "18.5. Transaction Synchronization" 18.5.1. About Transaction (JTA) Synchronizations 18.5.2. Enable Synchronization 18.6. State Reconciliation Expand section "18.6. State Reconciliation" Collapse section "18.6. State Reconciliation" 18.6.1. About State Reconciliation 18.6.2. About Transaction Recovery 18.6.3. Enable Transaction Recovery 18.6.4. Transaction Recovery Process 18.6.5. Transaction Recovery Example 18.6.6. Transaction Memory and JMX Support 18.6.7. Forced Commit and Rollback Operations 18.6.8. Transactions and Exceptions 18.7. Deadlock Detection Expand section "18.7. Deadlock Detection" Collapse section "18.7. Deadlock Detection" 18.7.1. About Deadlock Detection 18.7.2. Enable Deadlock Detection 19. Marshalling Expand section "19. Marshalling" Collapse section "19. Marshalling" 19.1. About Marshalling 19.2. Marshalling Benefits 19.3. About Marshalling Framework 19.4. Support for Non-Serializable Objects 19.5. Troubleshooting Expand section "19.5. Troubleshooting" Collapse section "19.5. Troubleshooting" 19.5.1. Marshalling Troubleshooting 19.5.2. State Receiver EOFExceptions 20. JGroups Interfaces Expand section "20. JGroups Interfaces" Collapse section "20. JGroups Interfaces" 20.1. About JGroups Interfaces 20.2. Configure JGroups Interfaces 20.3. About Binding Sockets Expand section "20.3. About Binding Sockets" Collapse section "20.3. About Binding Sockets" 20.3.1. About Group and Individual Socket Binding 20.3.2. Binding a Single Socket Example 20.3.3. Binding a Group of Sockets Example 20.4. JGroups for Clustered Modes Expand section "20.4. JGroups for Clustered Modes" Collapse section "20.4. JGroups for Clustered Modes" 20.4.1. Configure JGroups for Clusterd Modes 20.4.2. Pre-Configured JGroups Files 21. Management Tools in JBoss Data Grid Expand section "21. Management Tools in JBoss Data Grid" Collapse section "21. Management Tools in JBoss Data Grid" 21.1. Java Management Extensions (JMX) Expand section "21.1. Java Management Extensions (JMX)" Collapse section "21.1. Java Management Extensions (JMX)" 21.1.1. About Java Management Extensions (JMX) 21.1.2. Using JMX with JBoss Data Grid 21.1.3. JMX Statistic Levels 21.1.4. Enable JMX for Cache Instances 21.1.5. Enable JMX for CacheManagers 21.1.6. Multiple JMX Domains 21.1.7. About MBeans 21.1.8. Understanding MBeans 21.1.9. Registering MBeans in Non-Default MBean Servers 21.2. JBoss Operations Network (JON) Expand section "21.2. JBoss Operations Network (JON)" Collapse section "21.2. JBoss Operations Network (JON)" 21.2.1. About JBoss Operations Network (JON) 21.2.2. JBoss Operations Network (JON) and JMX 21.2.3. Configure JBoss Operations Network (JON) 21.2.4. JBoss Operations Network Plug-in Quickstart 21.2.5. Remote JMX Port Values A. References Expand section "A. References" Collapse section "A. References" A.1. About Apache Lucene Index A.2. About Consistency A.3. About Consistency Guarantee A.4. About Java Management Extensions (JMX) A.5. About JBoss Cache A.6. About JSON A.7. About Return Values A.8. About Runnable Interfaces A.9. About Two Phase Commit (2PC) A.10. About Key-Value Pairs A.11. The Externalizer Expand section "A.11. The Externalizer" Collapse section "A.11. The Externalizer" A.11.1. About Externalizer A.11.2. Internal Externalizer Implementation Access A.12. Hash Space Allocation Expand section "A.12. Hash Space Allocation" Collapse section "A.12. Hash Space Allocation" A.12.1. About Hash Space Allocation A.12.2. Locating a Key in the Hash Space A.12.3. Requesting a Full Byte Array B. Revision History 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 6.3. Return Values in Replication Mode In JBoss Data Grid's replication mode, return values are locally available before the replication occurs. Report a bug Previous Next