|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.cache.commands.read.AbstractDataCommand
org.jboss.cache.commands.write.InvalidateCommand
org.jboss.cache.commands.legacy.write.VersionedInvalidateCommand
@Deprecated public class VersionedInvalidateCommand
Behaves like InvalidateCommand. Also, potentially throws a cache exception if
data versioning is used and the node in memory has a newer data version than what is passed in.
| Field Summary | |
|---|---|
protected GlobalTransaction |
globalTransaction
Deprecated. Params. |
| Fields inherited from class org.jboss.cache.commands.write.InvalidateCommand |
|---|
METHOD_ID, notifier, spi |
| Fields inherited from class org.jboss.cache.commands.read.AbstractDataCommand |
|---|
dataContainer, fqn |
| Constructor Summary | |
|---|---|
VersionedInvalidateCommand()
Deprecated. |
|
VersionedInvalidateCommand(Fqn fqn)
Deprecated. |
|
| Method Summary | |
|---|---|
protected void |
createTombstone(InvocationContext ctx)
Deprecated. |
DataVersion |
getDataVersion()
Deprecated. |
GlobalTransaction |
getGlobalTransaction()
Deprecated. |
Object[] |
getParameters()
Deprecated. Basic versions of these methods |
void |
initialize(TransactionManager txManager)
Deprecated. |
boolean |
isVersioned()
Deprecated. Has data version set? (i.e. |
Object |
perform(InvocationContext ctx)
Deprecated. Performs an invalidation on a specified node |
protected void |
removeData(NodeSPI n,
InvocationContext ctx)
Deprecated. |
void |
setDataVersion(DataVersion dataVersion)
Deprecated. Sets the DataVersion pertaining to this command. |
void |
setGlobalTransaction(GlobalTransaction gtx)
Deprecated. Sets a GlobalTransaction on this command. |
void |
setParameters(int commandId,
Object[] args)
Deprecated. Basic versions of these methods |
String |
toString()
Deprecated. |
| Methods inherited from class org.jboss.cache.commands.write.InvalidateCommand |
|---|
acceptVisitor, enforceNodeLoading, getCommandId, initialize, invalidateNode |
| Methods inherited from class org.jboss.cache.commands.read.AbstractDataCommand |
|---|
equals, getFqn, hashCode, initialize |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.cache.commands.DataCommand |
|---|
getFqn |
| Methods inherited from interface org.jboss.cache.commands.VisitableCommand |
|---|
acceptVisitor |
| Methods inherited from interface org.jboss.cache.commands.ReplicableCommand |
|---|
getCommandId |
| Field Detail |
|---|
protected GlobalTransaction globalTransaction
| Constructor Detail |
|---|
public VersionedInvalidateCommand(Fqn fqn)
public VersionedInvalidateCommand()
| Method Detail |
|---|
public void initialize(TransactionManager txManager)
public Object perform(InvocationContext ctx)
InvalidateCommand
perform in interface ReplicableCommandperform in class InvalidateCommandctx - invocation context
protected void createTombstone(InvocationContext ctx)
protected void removeData(NodeSPI n,
InvocationContext ctx)
throws CacheException
CacheExceptionpublic DataVersion getDataVersion()
getDataVersion in interface VersionedDataCommandpublic void setDataVersion(DataVersion dataVersion)
VersionedDataCommand
setDataVersion in interface VersionedDataCommanddataVersion - to setpublic GlobalTransaction getGlobalTransaction()
getGlobalTransaction in interface WriteCommandpublic void setGlobalTransaction(GlobalTransaction gtx)
WriteCommand
setGlobalTransaction in interface WriteCommandgtx - global transaction to setpublic boolean isVersioned()
VersionedDataCommand
isVersioned in interface VersionedDataCommandpublic String toString()
toString in class InvalidateCommandpublic Object[] getParameters()
AbstractDataCommand
getParameters in interface ReplicableCommandgetParameters in class InvalidateCommand
public void setParameters(int commandId,
Object[] args)
AbstractDataCommand
setParameters in interface ReplicableCommandsetParameters in class InvalidateCommandcommandId - command id to set. This is usually unused but *could* be used in the event of a command having multiple IDs, such as PutKeyValueCommand.args - object array of args
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||