org.jboss.cache.commands.legacy.read
Class LegacyGravitateDataCommand

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

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

@Deprecated
public class LegacyGravitateDataCommand
extends GravitateDataCommand

Legacy version that uses old data container peeks

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

Field Summary
 
Fields inherited from class org.jboss.cache.commands.read.GravitateDataCommand
METHOD_ID, searchSubtrees
 
Fields inherited from class org.jboss.cache.commands.read.AbstractDataCommand
dataContainer, fqn
 
Constructor Summary
LegacyGravitateDataCommand(org.jgroups.Address localAddress)
          Deprecated.  
LegacyGravitateDataCommand(Fqn fqn, boolean searchSubtrees, org.jgroups.Address localAddress)
          Deprecated.  
 
Method Summary
protected  Set<Object> getBackupRoots()
          Deprecated.  
 
Methods inherited from class org.jboss.cache.commands.read.GravitateDataCommand
acceptVisitor, equals, getCommandId, getParameters, hashCode, initialize, isSearchSubtrees, perform, setParameters, toString
 
Methods inherited from class org.jboss.cache.commands.read.AbstractDataCommand
getFqn, initialize
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LegacyGravitateDataCommand

public LegacyGravitateDataCommand(Fqn fqn,
                                  boolean searchSubtrees,
                                  org.jgroups.Address localAddress)
Deprecated. 

LegacyGravitateDataCommand

public LegacyGravitateDataCommand(org.jgroups.Address localAddress)
Deprecated. 
Method Detail

getBackupRoots

protected Set<Object> getBackupRoots()
Deprecated. 
Overrides:
getBackupRoots in class GravitateDataCommand
Returns:
a Set of child node names that hang directly off the backup tree root, or null if the backup tree root doesn't exist.


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