Java Mailing List Archive

http://www.gg3721.com/

Home » Hibernate Commits List »

[hibernate-commits] Hibernate SVN: r14918 - in
 core/trunk/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2:
 builder and 1 other directory.

hibernate-commits

2008-07-10


Author LoginPost Reply
Author: bstansberry@(protected)
Date: 2008-07-10 15:36:02 -0400 (Thu, 10 Jul 2008)
New Revision: 14918

Modified:
 core/trunk/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/JndiMultiplexedJBossCacheRegionFactory.java
 core/trunk/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/MultiplexedJBossCacheRegionFactory.java
 core/trunk/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/builder/MultiplexingCacheInstanceManager.java
 core/trunk/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/builder/SharedCacheInstanceManager.java
Log:
Javadoc

Modified: core/trunk/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/JndiMultiplexedJBossCacheRegionFactory.java
===================================================================
--- core/trunk/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/JndiMultiplexedJBossCacheRegionFactory.java  2008-07-10 15:49:26 UTC (rev 14917)
+++ core/trunk/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/JndiMultiplexedJBossCacheRegionFactory.java  2008-07-10 19:36:02 UTC (rev 14918)
@@(protected) @@
* {@(protected)}.
* <p>
* Supports separate JBoss Cache instances for entity, collection, query
- * and timestamp caching, with the expectation that a single multiplexed
- * JGroups channel will be shared between the caches. JBoss Cache instances
- * are created from a factory.
+ * and timestamp caching, with the expectation that a single multiplexed JGroups
+ * resource (i.e. a multiplexed channel or a shared transport channel) will be
+ * shared between the caches. JBoss Cache instances are created from a factory.
* </p>
* <p>
* This version finds the factory in JNDI. See

Modified: core/trunk/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/MultiplexedJBossCacheRegionFactory.java
===================================================================
--- core/trunk/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/MultiplexedJBossCacheRegionFactory.java  2008-07-10 15:49:26 UTC (rev 14917)
+++ core/trunk/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/MultiplexedJBossCacheRegionFactory.java  2008-07-10 19:36:02 UTC (rev 14918)
@@(protected) @@
* {@(protected)}.
* <p>
* Supports separate JBoss Cache instances for entity, collection, query
- * and timestamp caching, with the expectation that a single multiplexed
- * JGroups channel will be shared between the caches. JBoss Cache instances
- * are created from a factory.
+ * and timestamp caching, with the expectation that a single JGroups resource
+ * (i.e. a multiplexed channel or a shared transport channel) will be shared
+ * between the caches. JBoss Cache instances are created from a factory.
* </p>
* <p>
* This version instantiates the factory itself. See

Modified: core/trunk/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/builder/MultiplexingCacheInstanceManager.java
===================================================================
--- core/trunk/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/builder/MultiplexingCacheInstanceManager.java  2008-07-10 15:49:26 UTC (rev 14917)
+++ core/trunk/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/builder/MultiplexingCacheInstanceManager.java  2008-07-10 19:36:02 UTC (rev 14918)
@@(protected) @@
import org.hibernate.util.PropertiesHelper;

/**
- * Allows building separate {@(protected)
- * supports using the JGroups multiplexer under the covers to re-use the same group
- * communication stack. <p/>
+ * Allows building separate {@(protected),
+ * with the expectation that a single multiplexed JGroups resource (i.e. a
+ * multiplexed channel or a shared transport channel) will be shared between
+ * the caches.<p/>
*
* @author Steve Ebersole
* @author Brian Stansberry

Modified: core/trunk/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/builder/SharedCacheInstanceManager.java
===================================================================
--- core/trunk/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/builder/SharedCacheInstanceManager.java  2008-07-10 15:49:26 UTC (rev 14917)
+++ core/trunk/cache-jbosscache2/src/main/java/org/hibernate/cache/jbc2/builder/SharedCacheInstanceManager.java  2008-07-10 19:36:02 UTC (rev 14918)
@@(protected) @@
import org.hibernate.util.PropertiesHelper;

/**
- * A {@(protected)
- * instance we assume to be configured for invalidation if operating on a
- * cluster. Under that assumption, we can store all data into the same
- * {@(protected).
+ * A {@(protected)
+ * instance for each type of region. If operating on a cluster, the cache must
+ * be configured for REPL_SYNC if query caching is enabled. If query caching
+ * is not used, REPL_SYNC or INVALIDATION_SYNC are valid, with
+ * INVALIDATION_SYNC preferred.
*
* @author Steve Ebersole
+ * @author Brian Stansberry
*/
public class SharedCacheInstanceManager implements CacheInstanceManager {
 

_______________________________________________
hibernate-commits mailing list
hibernate-commits@(protected)
https://lists.jboss.org/mailman/listinfo/hibernate-commits
©2008 gg3721.com - Jax Systems, LLC, U.S.A.