[jboss-user] [JBoss Cache] Document updated/added: "JBossCacheRegions"

Manik Surtani do-not-reply at jboss.com
Mon Feb 22 10:34:57 EST 2010


User development,

The document "JBossCacheRegions", was updated Feb 22, 2010
by Manik Surtani.

To view the document, visit:
http://community.jboss.org/docs/DOC-10284#cf

Document:
--------------------------------------------------------------
This is about http://jira.jboss.com/jira/browse/JBCACHE-64
 
h2.  Motivation
 
To be able to configure caches on a per-region basis.
 
h2.  What can be configured per-region?
 
h4.  Currently (2.x) available:
 
* Eviction policies
* Class loaders
* State transfer
* PojoCache scoping
 
h4.  For JBCACHE-64 (3.0.0)
 
* Isolation level (see JBossCacheMVCC)
* Transactional behaviour 
** REQUIRES_NEW, NONE, etc.
* Replication (SYNC/ASYNC, INVALIDATION, LOCAL)
* Cache loading
 
h2.  Classes
 
http://community.jboss.org/servlet/JiveServlet/download/10284-5-4686/Regions.png
 
h2.  Defining regions
 
* An Fqn can define a Node which is the root of the region
* Regions within regions allowed
 
h3.  Configuration
 
* Each region to have a Configuration, which inherits from it's parent region (if region is within a region) or the cache-wide default (copies it)
* Some elements may be dynamic
** If changing on the fly, acquire an exclusive lock on all nodes in the region (and any sub-regions)
** Update interceptors on all nodes in the region accordingly
** Release exclusive locks 
*** Any eviction policy updates in a region will reset eviction queues!
 

--------------------------------------------------------------




More information about the jboss-user mailing list