org.infinispan.commands.write
Class AbstractDataWriteCommand

java.lang.Object
  extended by org.infinispan.commands.read.AbstractDataCommand
      extended by org.infinispan.commands.write.AbstractDataWriteCommand
All Implemented Interfaces:
DataCommand, ReplicableCommand, VisitableCommand, DataWriteCommand, WriteCommand
Direct Known Subclasses:
PutKeyValueCommand, RemoveCommand, ReplaceCommand

public abstract class AbstractDataWriteCommand
extends AbstractDataCommand
implements DataWriteCommand

Stuff common to WriteCommands

Since:
4.0
Author:
Manik Surtani

Field Summary
 
Fields inherited from class org.infinispan.commands.read.AbstractDataCommand
key
 
Constructor Summary
protected AbstractDataWriteCommand()
           
protected AbstractDataWriteCommand(Object key)
           
 
Method Summary
 Set<Object> getAffectedKeys()
           
 
Methods inherited from class org.infinispan.commands.read.AbstractDataCommand
equals, getKey, getParameters, hashCode, setKey, setParameters, shouldInvoke, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.infinispan.commands.write.WriteCommand
isConditional, isSuccessful
 
Methods inherited from interface org.infinispan.commands.DataCommand
getKey
 
Methods inherited from interface org.infinispan.commands.VisitableCommand
acceptVisitor, shouldInvoke
 
Methods inherited from interface org.infinispan.commands.ReplicableCommand
getCommandId, getParameters, perform, setParameters
 

Constructor Detail

AbstractDataWriteCommand

protected AbstractDataWriteCommand()

AbstractDataWriteCommand

protected AbstractDataWriteCommand(Object key)
Method Detail

getAffectedKeys

public Set<Object> getAffectedKeys()
Specified by:
getAffectedKeys in interface WriteCommand
Returns:
a collection of keys affected by this write command. Some commands - such as ClearCommand - may return an empty collection for this method.

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.