org.jboss.cache.commands
Class PessimisticCommandsFactoryImpl
java.lang.Object
org.jboss.cache.commands.CommandsFactoryImpl
org.jboss.cache.commands.OptimisticCommandsFactoryImpl
org.jboss.cache.commands.PessimisticCommandsFactoryImpl
- All Implemented Interfaces:
- CommandsFactory
Deprecated. will be removed with possimistic locking
@Deprecated
public class PessimisticCommandsFactoryImpl
- extends OptimisticCommandsFactoryImpl
This specific implementation of CommandsFactory
specifically creates
pessimistic commands where appropriate, with the ability to roll back.
- Since:
- 3.0
- Author:
- Manik Surtani (manik AT jboss DOT org)
- See Also:
ReversibleCommand
Method Summary |
ClearDataCommand |
buildClearDataCommand(GlobalTransaction gtx,
Fqn fqn)
Deprecated. |
GetChildrenNamesCommand |
buildGetChildrenNamesCommand(Fqn fqn)
Deprecated. |
InvalidateCommand |
buildInvalidateCommand(Fqn fqn)
Deprecated. |
MoveCommand |
buildMoveCommand(Fqn from,
Fqn to)
Deprecated. |
PutDataMapCommand |
buildPutDataMapCommand(GlobalTransaction gtx,
Fqn fqn,
java.util.Map data)
Deprecated. |
PutForExternalReadCommand |
buildPutForExternalReadCommand(GlobalTransaction gtx,
Fqn fqn,
java.lang.Object key,
java.lang.Object value)
Deprecated. |
PutKeyValueCommand |
buildPutKeyValueCommand(GlobalTransaction gtx,
Fqn fqn,
java.lang.Object key,
java.lang.Object value)
Deprecated. |
RemoveKeyCommand |
buildRemoveKeyCommand(GlobalTransaction tx,
Fqn fqn,
java.lang.Object key)
Deprecated. |
RemoveNodeCommand |
buildRemoveNodeCommand(GlobalTransaction gtx,
Fqn fqn)
Deprecated. |
ReplicableCommand |
fromStream(int id,
java.lang.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, buildClusteredGetCommand, buildCommitCommand, buildDataGravitationCleanupCommand, buildExistsNodeCommand, buildGetDataMapCommand, buildGetKeysCommand, buildGetKeyValueCommand, buildGetNodeCommand, buildOptimisticPrepareCommand, buildPrepareCommand, buildPrepareCommand, buildRemoveFromBuddyGroupCommand, buildReplicateCommand, buildReplicateCommand, buildRollbackCommand, buildStateTransferControlCommand, initialize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PessimisticCommandsFactoryImpl
public PessimisticCommandsFactoryImpl()
- Deprecated.
buildGetChildrenNamesCommand
public GetChildrenNamesCommand buildGetChildrenNamesCommand(Fqn fqn)
- Deprecated.
- Specified by:
buildGetChildrenNamesCommand
in interface CommandsFactory
- Overrides:
buildGetChildrenNamesCommand
in class CommandsFactoryImpl
buildPutDataMapCommand
public PutDataMapCommand buildPutDataMapCommand(GlobalTransaction gtx,
Fqn fqn,
java.util.Map data)
- Deprecated.
- Specified by:
buildPutDataMapCommand
in interface CommandsFactory
- Overrides:
buildPutDataMapCommand
in class CommandsFactoryImpl
buildPutKeyValueCommand
public PutKeyValueCommand buildPutKeyValueCommand(GlobalTransaction gtx,
Fqn fqn,
java.lang.Object key,
java.lang.Object value)
- Deprecated.
- Specified by:
buildPutKeyValueCommand
in interface CommandsFactory
- Overrides:
buildPutKeyValueCommand
in class CommandsFactoryImpl
buildPutForExternalReadCommand
public PutForExternalReadCommand buildPutForExternalReadCommand(GlobalTransaction gtx,
Fqn fqn,
java.lang.Object key,
java.lang.Object value)
- Deprecated.
- Specified by:
buildPutForExternalReadCommand
in interface CommandsFactory
- Overrides:
buildPutForExternalReadCommand
in class CommandsFactoryImpl
buildRemoveNodeCommand
public RemoveNodeCommand buildRemoveNodeCommand(GlobalTransaction gtx,
Fqn fqn)
- Deprecated.
- Specified by:
buildRemoveNodeCommand
in interface CommandsFactory
- Overrides:
buildRemoveNodeCommand
in class CommandsFactoryImpl
buildClearDataCommand
public ClearDataCommand buildClearDataCommand(GlobalTransaction gtx,
Fqn fqn)
- Deprecated.
- Specified by:
buildClearDataCommand
in interface CommandsFactory
- Overrides:
buildClearDataCommand
in class CommandsFactoryImpl
buildRemoveKeyCommand
public RemoveKeyCommand buildRemoveKeyCommand(GlobalTransaction tx,
Fqn fqn,
java.lang.Object key)
- Deprecated.
- Specified by:
buildRemoveKeyCommand
in interface CommandsFactory
- Overrides:
buildRemoveKeyCommand
in class CommandsFactoryImpl
buildMoveCommand
public MoveCommand buildMoveCommand(Fqn from,
Fqn to)
- Deprecated.
- Specified by:
buildMoveCommand
in interface CommandsFactory
- Overrides:
buildMoveCommand
in class CommandsFactoryImpl
buildInvalidateCommand
public InvalidateCommand buildInvalidateCommand(Fqn fqn)
- Deprecated.
- Specified by:
buildInvalidateCommand
in interface CommandsFactory
- Overrides:
buildInvalidateCommand
in class OptimisticCommandsFactoryImpl
fromStream
public ReplicableCommand fromStream(int id,
java.lang.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 OptimisticCommandsFactoryImpl
- Parameters:
id
- id of the command to buildparameters
- parameters attached to the command
- Returns:
- a newly constructed cache command
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.