|
||||||||||
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.EvictionInterceptor
public class EvictionInterceptor
Eviction Interceptor.
This interceptor is used to handle eviction events.
Nested Class Summary | |
---|---|
protected static interface |
EvictionInterceptor.EvictionMethodHandler
|
protected class |
EvictionInterceptor.GetKeyEvictionMethodHandler
|
protected class |
EvictionInterceptor.GetNodeEvictionMethodHandler
|
protected class |
EvictionInterceptor.PartialEvictionEvictionMethodHandler
|
protected class |
EvictionInterceptor.PutDataEraseEvictionMethodHandler
|
protected class |
EvictionInterceptor.PutDataEvictionMethodHandler
|
protected class |
EvictionInterceptor.PutKeyEvictionMethodHandler
|
protected class |
EvictionInterceptor.RemoveKeyEvictionMethodHandler
|
protected class |
EvictionInterceptor.RemoveNodeEvictionMethodHandler
|
Field Summary | |
---|---|
protected Map<Integer,EvictionInterceptor.EvictionMethodHandler> |
evictionMethodHandlers
|
protected RegionManager |
regionManager
|
Fields inherited from class org.jboss.cache.interceptors.Interceptor |
---|
cache, configuration, last, next |
Constructor Summary | |
---|---|
EvictionInterceptor()
|
Method Summary | |
---|---|
protected boolean |
canIgnoreEvent(Fqn fqn,
NodeEventType type)
|
protected void |
doEventUpdatesOnRegionManager(EvictedEventNode event)
|
protected EvictedEventNode |
extractEvent(MethodCall m,
Object retVal)
|
Object |
invoke(InvocationContext ctx)
|
void |
setCache(CacheSPI cache)
|
protected void |
updateNode(MethodCall m,
Object retVal)
|
Methods inherited from class org.jboss.cache.interceptors.Interceptor |
---|
dumpStatistics, getLast, getNext, getStatisticsEnabled, isActive, isOnePhaseCommitPrepareMehod, isPreparing, isValid, resetStatistics, setLast, setNext, setStatisticsEnabled, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected RegionManager regionManager
protected Map<Integer,EvictionInterceptor.EvictionMethodHandler> evictionMethodHandlers
Constructor Detail |
---|
public EvictionInterceptor()
Method Detail |
---|
public void setCache(CacheSPI cache)
setCache
in class Interceptor
public Object invoke(InvocationContext ctx) throws Throwable
invoke
in class Interceptor
Throwable
protected void updateNode(MethodCall m, Object retVal)
protected EvictedEventNode extractEvent(MethodCall m, Object retVal)
protected boolean canIgnoreEvent(Fqn fqn, NodeEventType type)
protected void doEventUpdatesOnRegionManager(EvictedEventNode event)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |