org.jboss.cache.interceptors
Class LegacyPassivationInterceptor
java.lang.Object
org.jboss.cache.commands.AbstractVisitor
org.jboss.cache.interceptors.base.CommandInterceptor
org.jboss.cache.interceptors.base.JmxStatsCommandInterceptor
org.jboss.cache.interceptors.PassivationInterceptor
org.jboss.cache.interceptors.LegacyPassivationInterceptor
- All Implemented Interfaces:
- Visitor, JmxStatisticsExposer
Deprecated. will be removed along with optimistic and pessimistic locking.
@Deprecated
public class LegacyPassivationInterceptor
- extends PassivationInterceptor
Passivation interceptor for optimistic and pessimistic locking
- Since:
- 3.0
- Author:
- Manik Surtani (manik AT jboss DOT org)
Methods inherited from class org.jboss.cache.commands.AbstractVisitor |
visitClearDataCommand, visitCollection, visitCommitCommand, visitCreateNodeCommand, visitExistsNodeCommand, visitGetChildrenNamesCommand, visitGetDataMapCommand, visitGetKeysCommand, visitGetKeyValueCommand, visitGetNodeCommand, visitGravitateDataCommand, visitInvalidateCommand, visitMoveCommand, visitOptimisticPrepareCommand, visitPrepareCommand, visitPutDataMapCommand, visitPutForExternalReadCommand, visitPutKeyValueCommand, visitRemoveKeyCommand, visitRemoveNodeCommand, visitRollbackCommand |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LegacyPassivationInterceptor
public LegacyPassivationInterceptor()
- Deprecated.
visitEvictFqnCommand
public Object visitEvictFqnCommand(InvocationContext ctx,
EvictCommand command)
throws Throwable
- Deprecated.
- Description copied from class:
PassivationInterceptor
- Notifies the cache instance listeners that the evicted node is about to
be passivated and stores the evicted node and its attributes back to the
store using the CacheLoader.
- Specified by:
visitEvictFqnCommand
in interface Visitor
- Overrides:
visitEvictFqnCommand
in class PassivationInterceptor
- Parameters:
ctx
- invocation contextcommand
- command to visit
- Returns:
- response from the visit
- Throws:
Throwable
- in the event of problems.
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.