|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.cache.interceptors.Interceptor
org.jboss.cache.interceptors.MethodDispacherInterceptor
org.jboss.cache.interceptors.BaseRpcInterceptor
org.jboss.cache.interceptors.DataGravitatorInterceptor
public class DataGravitatorInterceptor
The Data Gravitator interceptor intercepts cache misses and attempts to gravitate data from other parts of the cluster.
Only used if Buddy Replication is enabled. Also, the interceptor only kicks in if anOption is passed in to force Data
Gravitation for a specific invocation or if autoDataGravitation is
set to true 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.
| Nested Class Summary | |
|---|---|
static class |
DataGravitatorInterceptor.ResponseValidityFilter
|
| Field Summary |
|---|
| Fields inherited from class org.jboss.cache.interceptors.BaseRpcInterceptor |
|---|
defaultSynchronous |
| Fields inherited from class org.jboss.cache.interceptors.Interceptor |
|---|
cache, configuration, last, log, next, trace |
| Constructor Summary | |
|---|---|
DataGravitatorInterceptor()
|
|
| Methods inherited from class org.jboss.cache.interceptors.BaseRpcInterceptor |
|---|
containsModifications, checkResponses, isSynchronous, isTransactionalAndLocal, putCallOnAsyncReplicationQueue, replicateCall, replicateCall, replicateCall, replicateCall, skipReplicationOfTransactionMethod |
| Methods inherited from class org.jboss.cache.interceptors.Interceptor |
|---|
assertTransactionValid, dumpStatistics, getLast, getNext, getStatisticsEnabled, initLogger, isActive, isPreparing, isValid, nextInterceptor, peekNode, resetStatistics, setLast, setNext, setStatisticsEnabled, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DataGravitatorInterceptor()
| Method Detail |
|---|
public void setCache(CacheSPI cache)
setCache in class BaseRpcInterceptorprotected boolean skipMethodCall(InvocationContext ctx)
MethodDispacherInterceptor
skipMethodCall in class MethodDispacherInterceptor
protected Object handleGetChildrenNamesMethod(InvocationContext ctx,
Fqn fqn)
throws Throwable
MethodDispacherInterceptorCacheImpl._getChildrenNames(org.jboss.cache.Fqn)
handleGetChildrenNamesMethod in class MethodDispacherInterceptorThrowable
protected Object handleGetDataMapMethod(InvocationContext ctx,
Fqn fqn)
throws Throwable
MethodDispacherInterceptorCacheImpl._getData(org.jboss.cache.Fqn)
handleGetDataMapMethod in class MethodDispacherInterceptorThrowable
protected Object handleExistsMethod(InvocationContext ctx,
Fqn fqn)
throws Throwable
MethodDispacherInterceptorCacheImpl.exists(String)
handleExistsMethod in class MethodDispacherInterceptorThrowable
protected Object handleGetKeysMethod(InvocationContext ctx,
Fqn fqn)
throws Throwable
MethodDispacherInterceptorCache.getKeys(Fqn)
handleGetKeysMethod in class MethodDispacherInterceptorThrowable
protected Object handleGetKeyValueMethod(InvocationContext ctx,
Fqn fqn,
Object key,
boolean sendNodeEvent)
throws Throwable
MethodDispacherInterceptorCacheImpl._get(org.jboss.cache.Fqn, Object, boolean)
handleGetKeyValueMethod in class MethodDispacherInterceptorThrowable
protected Object handleGetNodeMethod(InvocationContext ctx,
Fqn fqn)
throws Throwable
MethodDispacherInterceptorCacheImpl._get(org.jboss.cache.Fqn)
handleGetNodeMethod in class MethodDispacherInterceptorThrowable
protected Object handlePrepareMethod(InvocationContext ctx,
GlobalTransaction gtx,
List modification,
org.jgroups.Address coordinator,
boolean onePhaseCommit)
throws Throwable
MethodDispacherInterceptorCacheImpl.prepare(org.jboss.cache.transaction.GlobalTransaction, java.util.List, org.jgroups.Address, boolean)
handlePrepareMethod in class MethodDispacherInterceptorThrowable
protected Object handleOptimisticPrepareMethod(InvocationContext ctx,
GlobalTransaction gtx,
List modifications,
Map data,
org.jgroups.Address address,
boolean onePhaseCommit)
throws Throwable
MethodDispacherInterceptorCacheImpl.optimisticPrepare(org.jboss.cache.transaction.GlobalTransaction, java.util.List, java.util.Map, org.jgroups.Address, boolean)
handleOptimisticPrepareMethod in class MethodDispacherInterceptorThrowable
protected Object handleRollbackMethod(InvocationContext ctx,
GlobalTransaction globalTransaction)
throws Throwable
MethodDispacherInterceptorCacheImpl.rollback(org.jboss.cache.transaction.GlobalTransaction)
handleRollbackMethod in class MethodDispacherInterceptorThrowable
protected Object handleCommitMethod(InvocationContext ctx,
GlobalTransaction globalTransaction)
throws Throwable
MethodDispacherInterceptorCacheImpl.commit(org.jboss.cache.transaction.GlobalTransaction)
handleCommitMethod in class MethodDispacherInterceptorThrowable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||