org.infinispan.interceptors
Class ClusteredCacheLoaderInterceptor

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.ClusteredCacheLoaderInterceptor
All Implemented Interfaces:
Visitor, JmxStatisticsExposer

public class ClusteredCacheLoaderInterceptor
extends CacheLoaderInterceptor

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, enabled, loader, notifier
 
Fields inherited from class org.infinispan.interceptors.base.CommandInterceptor
cacheConfiguration
 
Constructor Summary
ClusteredCacheLoaderInterceptor()
           
 
Method Summary
protected  boolean forceLoad(Object key, Set<Flag> flags)
           
 
Methods inherited from class org.infinispan.interceptors.CacheLoaderInterceptor
disableCacheLoader, disableInterceptor, getCacheLoaderLoads, getCacheLoaderMisses, getCacheLoaders, getLog, injectDependencies, isDeltaWrite, resetStatistics, sendNotification, startInterceptor, visitApplyDeltaCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitPutKeyValueCommand, visitRemoveCommand, visitReplaceCommand
 
Methods inherited from class org.infinispan.interceptors.base.JmxStatsCommandInterceptor
checkStatisticsUsed, getStatisticsEnabled, setStatisticsEnabled
 
Methods inherited from class org.infinispan.interceptors.base.CommandInterceptor
getLockAcquisitionTimeout, getNext, handleDefault, hasNext, hasSkipLocking, injectConfiguration, invokeNextInterceptor, setNext
 
Methods inherited from class org.infinispan.commands.AbstractVisitor
visitClearCommand, visitCollection, visitCommitCommand, visitDistributedExecuteCommand, visitEntrySetCommand, visitEvictCommand, visitInvalidateL1Command, visitKeySetCommand, visitLockControlCommand, visitPrepareCommand, visitPutMapCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommand, visitValuesCommand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusteredCacheLoaderInterceptor

public ClusteredCacheLoaderInterceptor()
Method Detail

forceLoad

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

-->

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