org.infinispan.interceptors
Class ClusteredActivationInterceptor

java.lang.Object
  extended by org.infinispan.commands.AbstractVisitor
      extended by org.infinispan.interceptors.base.CommandInterceptor
          extended by org.infinispan.interceptors.base.JmxStatsCommandInterceptor
              extended by org.infinispan.interceptors.CacheLoaderInterceptor
                  extended by org.infinispan.interceptors.ActivationInterceptor
                      extended by org.infinispan.interceptors.ClusteredActivationInterceptor
All Implemented Interfaces:
Visitor, JmxStatisticsExposer

public class ClusteredActivationInterceptor
extends ActivationInterceptor

The same as a regular cache loader interceptor, except that it contains additional logic to force loading from the cache loader if needed on a remote node, in certain conditions.

Since:
5.1
Author:
Manik Surtani

Field Summary
 
Fields inherited from class org.infinispan.interceptors.CacheLoaderInterceptor
clm, loader, notifier
 
Fields inherited from class org.infinispan.interceptors.base.CommandInterceptor
configuration
 
Constructor Summary
ClusteredActivationInterceptor()
           
 
Method Summary
protected  boolean forceLoad(Object key, Set<Flag> flags)
           
 
Methods inherited from class org.infinispan.interceptors.ActivationInterceptor
getActivations, getLog, resetStatistics, sendNotification, setCacheStore, visitGetKeyValueCommand, visitPutKeyValueCommand, visitPutMapCommand, visitRemoveCommand, visitReplaceCommand
 
Methods inherited from class org.infinispan.interceptors.CacheLoaderInterceptor
getCacheLoaderLoads, getCacheLoaderMisses, injectDependencies, startInterceptor, visitInvalidateCommand
 
Methods inherited from class org.infinispan.interceptors.base.JmxStatsCommandInterceptor
checkStatisticsUsed, getStatisticsEnabled, setStatisticsEnabled
 
Methods inherited from class org.infinispan.interceptors.base.CommandInterceptor
getNext, handleDefault, hasNext, invokeNextInterceptor, setNext
 
Methods inherited from class org.infinispan.commands.AbstractVisitor
visitApplyDeltaCommand, visitClearCommand, visitCollection, visitCommitCommand, visitDistributedExecuteCommand, visitEntrySetCommand, visitEvictCommand, visitInvalidateL1Command, visitKeySetCommand, visitLockControlCommand, visitPrepareCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommand, visitValuesCommand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusteredActivationInterceptor

public ClusteredActivationInterceptor()
Method Detail

forceLoad

protected boolean forceLoad(Object key,
                            Set<Flag> flags)
Overrides:
forceLoad in class CacheLoaderInterceptor

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.