org.jboss.cache.commands.legacy.write
Class LegacyEvictCommand

java.lang.Object
  extended by org.jboss.cache.commands.read.AbstractDataCommand
      extended by org.jboss.cache.commands.write.EvictCommand
          extended by org.jboss.cache.commands.legacy.write.LegacyEvictCommand
All Implemented Interfaces:
DataCommand, ReplicableCommand, VisitableCommand

Deprecated. will be removed along with optimistic and pessimistic locking.

@Deprecated
public class LegacyEvictCommand
extends EvictCommand

Evict command for legacy locking schemes like OL and PL.

Since:
3.0
Author:
Manik Surtani (manik AT jboss DOT org)

Field Summary
 
Fields inherited from class org.jboss.cache.commands.write.EvictCommand
log, METHOD_ID, notifier, trace, VERSIONED_METHOD_ID
 
Fields inherited from class org.jboss.cache.commands.read.AbstractDataCommand
dataContainer, fqn
 
Constructor Summary
LegacyEvictCommand()
          Deprecated.  
LegacyEvictCommand(Fqn fqn)
          Deprecated.  
 
Method Summary
protected  boolean evictNode(Fqn fqn, InvocationContext ctx, NodeSPI node)
          Deprecated.  
protected  Collection<Fqn> getRecursiveEvictionNodes()
          Deprecated.  
protected  NodeSPI lookupForEviction(InvocationContext ctx, Fqn fqn)
          Deprecated.  
 
Methods inherited from class org.jboss.cache.commands.write.EvictCommand
acceptVisitor, getCommandId, getNodesToEvict, getParameters, initialize, isRecursive, perform, rollback, setNodesToEvict, setParameters, setRecursive, toString
 
Methods inherited from class org.jboss.cache.commands.read.AbstractDataCommand
equals, getFqn, hashCode, initialize
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LegacyEvictCommand

public LegacyEvictCommand(Fqn fqn)
Deprecated. 

LegacyEvictCommand

public LegacyEvictCommand()
Deprecated. 
Method Detail

lookupForEviction

protected NodeSPI lookupForEviction(InvocationContext ctx,
                                    Fqn fqn)
Deprecated. 
Overrides:
lookupForEviction in class EvictCommand

getRecursiveEvictionNodes

protected Collection<Fqn> getRecursiveEvictionNodes()
Deprecated. 
Overrides:
getRecursiveEvictionNodes in class EvictCommand

evictNode

protected boolean evictNode(Fqn fqn,
                            InvocationContext ctx,
                            NodeSPI node)
Deprecated. 
Overrides:
evictNode in class EvictCommand


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