|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WriteCommand
A command that modifies the cache in some way
Method Summary | |
---|---|
Set<Object> |
getAffectedKeys()
|
boolean |
isConditional()
Certain commands only work based on a certain condition or state of the cache. |
boolean |
isSuccessful()
Some commands may want to provide information on whether the command was successful or not. |
Methods inherited from interface org.infinispan.commands.VisitableCommand |
---|
acceptVisitor, ignoreCommandOnStatus, shouldInvoke |
Methods inherited from interface org.infinispan.commands.ReplicableCommand |
---|
getCommandId, getParameters, isReturnValueExpected, perform, setParameters |
Methods inherited from interface org.infinispan.commands.FlagAffectedCommand |
---|
getFlags, hasFlag, setFlags |
Method Detail |
---|
boolean isSuccessful()
boolean isConditional()
ConcurrentMap.putIfAbsent(Object, Object)
only does anything if a condition is met, i.e., the entry in
question is not already present. This method tests whether the command in question is conditional or not.
Set<Object> getAffectedKeys()
|
--> | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |