|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.cache.commands.CommandsFactoryImpl org.jboss.cache.commands.OptimisticCommandsFactoryImpl org.jboss.cache.commands.PessimisticCommandsFactoryImpl
@Deprecated public class PessimisticCommandsFactoryImpl
This specific implementation of CommandsFactory
specifically creates
pessimistic commands where appropriate, with the ability to roll back.
ReversibleCommand
Field Summary |
---|
Fields inherited from class org.jboss.cache.commands.CommandsFactoryImpl |
---|
buddyFqnTransformer, buddyManager, cacheSpi, configuration, dataContainer, invoker, notifier, rpcManager, transactionTable, txManager |
Constructor Summary | |
---|---|
PessimisticCommandsFactoryImpl()
Deprecated. |
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,
Map data)
Deprecated. |
PutForExternalReadCommand |
buildPutForExternalReadCommand(GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value)
Deprecated. |
PutKeyValueCommand |
buildPutKeyValueCommand(GlobalTransaction gtx,
Fqn fqn,
Object key,
Object value)
Deprecated. |
RemoveKeyCommand |
buildRemoveKeyCommand(GlobalTransaction tx,
Fqn fqn,
Object key)
Deprecated. |
RemoveNodeCommand |
buildRemoveNodeCommand(GlobalTransaction gtx,
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.OptimisticCommandsFactoryImpl |
---|
buildCreateNodeCommand, buildEvictFqnCommand, buildGravitateDataCommand |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PessimisticCommandsFactoryImpl()
Method Detail |
---|
public GetChildrenNamesCommand buildGetChildrenNamesCommand(Fqn fqn)
buildGetChildrenNamesCommand
in interface CommandsFactory
buildGetChildrenNamesCommand
in class CommandsFactoryImpl
public PutDataMapCommand buildPutDataMapCommand(GlobalTransaction gtx, Fqn fqn, Map data)
buildPutDataMapCommand
in interface CommandsFactory
buildPutDataMapCommand
in class CommandsFactoryImpl
public PutKeyValueCommand buildPutKeyValueCommand(GlobalTransaction gtx, Fqn fqn, Object key, Object value)
buildPutKeyValueCommand
in interface CommandsFactory
buildPutKeyValueCommand
in class CommandsFactoryImpl
public PutForExternalReadCommand buildPutForExternalReadCommand(GlobalTransaction gtx, Fqn fqn, Object key, Object value)
buildPutForExternalReadCommand
in interface CommandsFactory
buildPutForExternalReadCommand
in class CommandsFactoryImpl
public RemoveNodeCommand buildRemoveNodeCommand(GlobalTransaction gtx, Fqn fqn)
buildRemoveNodeCommand
in interface CommandsFactory
buildRemoveNodeCommand
in class CommandsFactoryImpl
public ClearDataCommand buildClearDataCommand(GlobalTransaction gtx, Fqn fqn)
buildClearDataCommand
in interface CommandsFactory
buildClearDataCommand
in class CommandsFactoryImpl
public RemoveKeyCommand buildRemoveKeyCommand(GlobalTransaction tx, Fqn fqn, Object key)
buildRemoveKeyCommand
in interface CommandsFactory
buildRemoveKeyCommand
in class CommandsFactoryImpl
public MoveCommand buildMoveCommand(Fqn from, Fqn to)
buildMoveCommand
in interface CommandsFactory
buildMoveCommand
in class CommandsFactoryImpl
public InvalidateCommand buildInvalidateCommand(Fqn fqn)
buildInvalidateCommand
in interface CommandsFactory
buildInvalidateCommand
in class OptimisticCommandsFactoryImpl
public ReplicableCommand fromStream(int id, Object[] parameters)
CommandsFactory
fromStream
in interface CommandsFactory
fromStream
in class OptimisticCommandsFactoryImpl
id
- id of the command to buildparameters
- parameters attached to the command
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |