org.jboss.cache.commands
Interface WriteCommand
- All Superinterfaces:
- DataCommand, ReplicableCommand, VisitableCommand
- All Known Subinterfaces:
- ReversibleCommand, VersionedDataCommand
- All Known Implementing Classes:
- AbstractVersionedDataCommand, ClearDataCommand, CreateNodeCommand, MoveCommand, PessClearDataCommand, PessMoveCommand, PessPutDataMapCommand, PessPutForExternalReadCommand, PessPutKeyValueCommand, PessRemoveKeyCommand, PessRemoveNodeCommand, PutDataMapCommand, PutForExternalReadCommand, PutKeyValueCommand, RemoveKeyCommand, RemoveNodeCommand, VersionedInvalidateCommand
public interface WriteCommand
- extends DataCommand
A write command that has a reference to a GlobalTransaction
.
- Since:
- 2.2.0
- Author:
- Mircea.Markus@jboss.com, Manik Surtani (manik AT jboss DOT org)
getGlobalTransaction
GlobalTransaction getGlobalTransaction()
- Returns:
- a GlobalTransaction associated with this command.
setGlobalTransaction
void setGlobalTransaction(GlobalTransaction gtx)
- Sets a GlobalTransaction on this command.
- Parameters:
gtx
- global transaction to set
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.