org.jboss.cache.interceptors
Class EvictionInterceptor
java.lang.Object
org.jboss.cache.interceptors.Interceptor
org.jboss.cache.interceptors.EvictionInterceptor
- All Implemented Interfaces:
- InterceptorMBean
- Direct Known Subclasses:
- PojoEvictionInterceptor
public class EvictionInterceptor
- extends Interceptor
Eviction Interceptor.
This interceptor is used to handle eviction events.
- Version:
- $Revision: 1.3 $
- Author:
- Daniel Huang
Methods inherited from class org.jboss.cache.interceptors.Interceptor |
dumpStatistics, getInvocationContext, getNext, getStatisticsEnabled, isActive, isBuddyGroupOrganisationMethod, isOnePhaseCommitPrepareMehod, isPreparing, isTransactionLifecycleMethod, isValid, resetStatistics, setInvocationContext, setNext, setStatisticsEnabled |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
regionManager
protected RegionManager regionManager
evictionMethodHandlers
protected java.util.Map evictionMethodHandlers
EvictionInterceptor
public EvictionInterceptor()
setCache
public void setCache(TreeCache cache)
- Overrides:
setCache
in class Interceptor
invoke
public java.lang.Object invoke(org.jgroups.blocks.MethodCall m)
throws java.lang.Throwable
- Overrides:
invoke
in class Interceptor
- Throws:
java.lang.Throwable
updateNode
protected void updateNode(org.jgroups.blocks.MethodCall m,
java.lang.Object retVal)
extractEvent
protected EvictedEventNode extractEvent(org.jgroups.blocks.MethodCall m,
java.lang.Object retVal)
canIgnoreEvent
protected boolean canIgnoreEvent(Fqn fqn)
doEventUpdatesOnRegionManager
protected void doEventUpdatesOnRegionManager(EvictedEventNode event)
Copyright © 1998-2005 JBoss Inc . All Rights Reserved.