public interface VersionedDataCommand extends WriteCommand
DataCommand
, except that these are versioned and reversible too. Versioning
is currently used by optimistic locking, and in future will be used by MVCC as well.Modifier and Type | Method and Description |
---|---|
DataVersion |
getDataVersion() |
boolean |
isVersioned()
Has data version set? (i.e.
|
void |
setDataVersion(DataVersion dataVersion)
Sets the DataVersion pertaining to this command.
|
getGlobalTransaction, setGlobalTransaction
getFqn
acceptVisitor
getCommandId, getParameters, perform, setParameters
DataVersion getDataVersion()
void setDataVersion(DataVersion dataVersion)
dataVersion
- to setboolean isVersioned()
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.