|
From: Manik S. <msu...@jb...> - 2006-07-10 16:21:13
|
User: msurtani
Date: 06/07/10 12:21:09
Modified: src/org/jboss/cache/interceptors Tag:
Branch_JBossCache_1_4_0
DataGravitatorInterceptor.java
Log:
Revision Changes Path
No revision
No revision
1.16.2.2 +8 -10 JBossCache/src/org/jboss/cache/interceptors/DataGravitatorInterceptor.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: DataGravitatorInterceptor.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/interceptors/DataGravitatorInterceptor.java,v
retrieving revision 1.16.2.1
retrieving revision 1.16.2.2
diff -u -b -r1.16.2.1 -r1.16.2.2
--- DataGravitatorInterceptor.java 10 Jul 2006 12:17:34 -0000 1.16.2.1
+++ DataGravitatorInterceptor.java 10 Jul 2006 16:21:09 -0000 1.16.2.2
@@ -35,16 +35,14 @@
import java.util.Vector;
/**
- * The Data Gravitator is a type of cache loader that queries the cluster for data. Behaviourally very similar to
- * {@see ClusteredCacheLoader} which it extends, it adds on further semantics specific to data gravitation.
- * <p />
- * Optional config properties such as:
- * <ul>
- * <li>removeOnFind - defaults to true, forces all remote caches that own the data or hold backups for the data to remove that data,
- * thereby making the requesting cache the new data owner. If set to false an evict is broadcast instead of a remove, so any state
- * persisted in cache loaders will remain. This is useful if you have a shared cache loader configured.</li>
- * <li>searchBackupTrees - defaults to true, causes remote caches to search through their backup subtrees in addition to their main data trees.</li>
- * </ul>
+ * The Data Gravitator interceptor intercepts cache misses and attempts t gravitate data from other parts of the cluster.
+ *
+ * Only used if Buddy Replication is enabled. Also, the interceptor only kicks in if an {@link Option} is passed in to
+ * force Data Gravitation for a specific invocation or if <b>autoDataGravitation</b> is set to <b>true</b> when configuring
+ * Buddy Replication.
+ *
+ * See the JBoss Cache User Guide for more details on configuration options. There is a section dedicated to Buddy Replication
+ * in the Replication chapter.
*
* @author <a href="mailto:ma...@jb...">Manik Surtani (ma...@jb...)</a>
*/
|