Package org.infinispan.commands.read
Class KeySetCommand<K,V>
- java.lang.Object
-
- org.infinispan.commands.AbstractFlagAffectedCommand
-
- org.infinispan.commands.read.AbstractLocalCommand
-
- org.infinispan.commands.read.KeySetCommand<K,V>
-
- All Implemented Interfaces:
FlagAffectedCommand,LocalCommand,ReplicableCommand,VisitableCommand
public class KeySetCommand<K,V> extends AbstractLocalCommand implements VisitableCommand
Command implementation forMap.keySet()functionality.- Since:
- 4.0
- Author:
- Galder ZamarreƱo, Mircea.Markus@jboss.com, Trustin Lee, William Burns
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.infinispan.commands.VisitableCommand
VisitableCommand.LoadType
-
-
Constructor Summary
Constructors Constructor Description KeySetCommand(long flagsBitSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectacceptVisitor(InvocationContext ctx, Visitor visitor)Accept a visitor, and return the result of accepting this visitor.StringtoString()-
Methods inherited from class org.infinispan.commands.read.AbstractLocalCommand
getCommandId, isReturnValueExpected, loadType, readFrom, writeTo
-
Methods inherited from class org.infinispan.commands.AbstractFlagAffectedCommand
getFlagsBitSet, hasSameFlags, printFlags, setFlagsBitSet
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.infinispan.commands.FlagAffectedCommand
addFlag, addFlags, addFlags, getFlags, hasAllFlags, hasAnyFlag, hasFlag, setFlags
-
Methods inherited from interface org.infinispan.commands.ReplicableCommand
canBlock, getCommandId, invoke, invokeAsync, isReturnValueExpected, isSuccessful, readFrom, setOrigin, writeTo
-
Methods inherited from interface org.infinispan.commands.VisitableCommand
init, loadType
-
-
-
-
Method Detail
-
acceptVisitor
public Object acceptVisitor(InvocationContext ctx, Visitor visitor) throws Throwable
Description copied from interface:VisitableCommandAccept a visitor, and return the result of accepting this visitor.- Specified by:
acceptVisitorin interfaceVisitableCommand- Parameters:
ctx- invocation contextvisitor- visitor to accept- Returns:
- arbitrary return value
- Throws:
Throwable- in the event of problems
-
-