org.jboss.cache.commands
Class OptimisticCommandsFactoryImpl

java.lang.Object
  extended by org.jboss.cache.commands.CommandsFactoryImpl
      extended by org.jboss.cache.commands.OptimisticCommandsFactoryImpl
All Implemented Interfaces:
CommandsFactory
Direct Known Subclasses:
PessimisticCommandsFactoryImpl

Deprecated. will be removed with opt locking

@Deprecated
public class OptimisticCommandsFactoryImpl
extends CommandsFactoryImpl

Extends the default commands factory impl for optimistic locking.

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

Field Summary
 
Fields inherited from class org.jboss.cache.commands.CommandsFactoryImpl
buddyFqnTransformer, buddyManager, cacheSpi, configuration, dataContainer, invoker, notifier, rpcManager, transactionTable, txManager
 
Constructor Summary
OptimisticCommandsFactoryImpl()
          Deprecated.  
 
Method Summary
 CreateNodeCommand buildCreateNodeCommand(Fqn fqn)
          Deprecated.  
 EvictCommand buildEvictFqnCommand(Fqn fqn)
          Deprecated.  
 GravitateDataCommand buildGravitateDataCommand(Fqn fqn, Boolean searchSubtrees)
          Deprecated.  
 InvalidateCommand buildInvalidateCommand(Fqn fqn)
          Deprecated.  
 ReplicableCommand fromStream(int id, Object[] parameters)
          Deprecated. Builds a cache command based on the ID passed in and an object array of parameters
 
Methods inherited from class org.jboss.cache.commands.CommandsFactoryImpl
buildAnnounceBuddyPoolNameCommand, buildAssignToBuddyGroupCommand, buildClearDataCommand, buildClusteredGetCommand, buildCommitCommand, buildDataGravitationCleanupCommand, buildExistsNodeCommand, buildGetChildrenNamesCommand, buildGetDataMapCommand, buildGetKeysCommand, buildGetKeyValueCommand, buildGetNodeCommand, buildMoveCommand, buildOptimisticPrepareCommand, buildPrepareCommand, buildPrepareCommand, buildPutDataMapCommand, buildPutForExternalReadCommand, buildPutKeyValueCommand, buildRemoveFromBuddyGroupCommand, buildRemoveKeyCommand, buildRemoveNodeCommand, buildReplicateCommand, buildReplicateCommand, buildRollbackCommand, buildStateTransferControlCommand, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptimisticCommandsFactoryImpl

public OptimisticCommandsFactoryImpl()
Deprecated. 
Method Detail

buildEvictFqnCommand

public EvictCommand buildEvictFqnCommand(Fqn fqn)
Deprecated. 
Specified by:
buildEvictFqnCommand in interface CommandsFactory
Overrides:
buildEvictFqnCommand in class CommandsFactoryImpl

buildInvalidateCommand

public InvalidateCommand buildInvalidateCommand(Fqn fqn)
Deprecated. 
Specified by:
buildInvalidateCommand in interface CommandsFactory
Overrides:
buildInvalidateCommand in class CommandsFactoryImpl

buildGravitateDataCommand

public GravitateDataCommand buildGravitateDataCommand(Fqn fqn,
                                                      Boolean searchSubtrees)
Deprecated. 
Specified by:
buildGravitateDataCommand in interface CommandsFactory
Overrides:
buildGravitateDataCommand in class CommandsFactoryImpl

buildCreateNodeCommand

public CreateNodeCommand buildCreateNodeCommand(Fqn fqn)
Deprecated. 
Specified by:
buildCreateNodeCommand in interface CommandsFactory
Overrides:
buildCreateNodeCommand in class CommandsFactoryImpl

fromStream

public ReplicableCommand fromStream(int id,
                                    Object[] parameters)
Deprecated. 
Description copied from interface: CommandsFactory
Builds a cache command based on the ID passed in and an object array of parameters

Specified by:
fromStream in interface CommandsFactory
Overrides:
fromStream in class CommandsFactoryImpl
Parameters:
id - id of the command to build
parameters - parameters attached to the command
Returns:
a newly constructed cache command


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