JBoss Cache TreeCache - A Structured, Replicated, Transactional Cache
Next
JBoss Cache TreeCache - A Structured, Replicated, Transactional Cache
User Documentation
Bela
Ban
<
bela@jboss.com
>
Ben
Wang
<
ben.wang@jboss.com
>
Manik
Surtani
<
manik@jboss.org
>
Brian
Stansberry
<
brian.stansberry@jboss.com
>
Daniel
Huang
<
dhuang@jboss.org
>
Release 1.3.0 "Wasabi"
31st March 2006
Table of Contents
Preface
1. Introduction
1.1. What is a TreeCache?
1.2. TreeCache Basics
2. Architecture
3. Basic API
4. Clustered Caches
4.1. Local Cache
4.2. Clustered Cache - Using Replication
4.3. Clustered Cache - Using Invalidation
5. Transactions and Concurrency
5.1. Concurrent Access
5.1.1. Locks
5.1.2. Pessimistic locking
5.1.2.1. Isolation levels
5.1.3. Optimistic locking
5.1.3.1. Architecture
5.1.3.2. Configuration
5.2. Transactional Support
5.2.1. Example
6. Eviction Policies
6.1. Eviction Policy Plugin
6.2. TreeCache Eviction Policy Configuration
6.3. TreeCache LRU eviction policy implementation
6.4. TreeCache FIFO eviction policy implementation
6.5. TreeCache MRU eviction policy implementation
6.6. TreeCache LFU eviction policy implementation
7. Cache Loaders
7.1. The CacheLoader Interface
7.2. Configuration via XML
7.3. Cache passivation
7.4. CacheLoader use cases
7.4.1. Local cache with store
7.4.2. Replicated caches with all nodes sharing the same store
7.4.3. Replicated caches with only one node having a store
7.4.4. Replicated caches with each node having its own store
7.4.5. Hierarchical caches
7.4.6. TcpDelegatingCacheLoader
7.4.7. RmiDelegatingCacheLoader
7.5. JDBC-based CacheLoader
7.5.1. JDBCCacheLoader configuration
7.5.1.1. Table configuration
7.5.1.2. DataSource
7.5.1.3. JDBC driver
7.5.1.4. Configuration example
8. TreeCacheMarshaller
8.1. Basic Usage
8.2. Region Activation/Inactivation
8.2.1. Example usage of Region Activation/Inactivation
8.3. Region Activation/Inactivation with a CacheLoader
9. Version Compatibility and Interoperability
10. Configuration
10.1. Sample XML-Based Configuration
10.2. Definition of XML attributes
11. Management Information
11.1. JBoss Cache MBeans
11.2. JBoss Cache Statistics
11.3. Receiving Cache Notifications
11.4. Accessing Cache MBeans in a Standalone Environment
12. Running JBoss Cache within JBoss Application Server
12.1. Running as an MBean