org.infinispan.interceptors
Class PassivationInterceptor
java.lang.Object
org.infinispan.commands.AbstractVisitor
org.infinispan.interceptors.base.CommandInterceptor
org.infinispan.interceptors.base.JmxStatsCommandInterceptor
org.infinispan.interceptors.PassivationInterceptor
- All Implemented Interfaces:
- Visitor, JmxStatisticsExposer
public class PassivationInterceptor
- extends JmxStatsCommandInterceptor
Writes evicted entries back to the store on the way in through the CacheStore
- Since:
- 4.0
Methods inherited from class org.infinispan.commands.AbstractVisitor |
visitClearCommand, visitCollection, visitCommitCommand, visitEntrySetCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitKeySetCommand, visitLockControlCommand, visitPrepareCommand, visitPutKeyValueCommand, visitPutMapCommand, visitRemoveCommand, visitReplaceCommand, visitRollbackCommand, visitSizeCommand, visitValuesCommand |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PassivationInterceptor
public PassivationInterceptor()
setDependencies
public void setDependencies(CacheNotifier notifier,
CacheLoaderManager cacheLoaderManager,
DataContainer dataContainer)
start
public void start()
visitEvictCommand
public Object visitEvictCommand(InvocationContext ctx,
EvictCommand command)
throws Throwable
- Specified by:
visitEvictCommand
in interface Visitor
- Overrides:
visitEvictCommand
in class AbstractVisitor
- Throws:
Throwable
resetStatistics
public void resetStatistics()
- Description copied from class:
JmxStatsCommandInterceptor
- Resets statistics gathered. Is a no-op, and should be overridden if it is to be meaningful.
- Specified by:
resetStatistics
in interface JmxStatisticsExposer
- Overrides:
resetStatistics
in class JmxStatsCommandInterceptor
getPassivations
public String getPassivations()
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.