Class BaseIterationCommand
java.lang.Object
org.infinispan.server.resp.RespCommand
org.infinispan.server.resp.commands.iteration.BaseIterationCommand
- All Implemented Interfaces:
BaseResp3Command,Resp3Command
-
Field Summary
Fields inherited from class org.infinispan.server.resp.RespCommand
log -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseIterationCommand(int arity, int firstKeyPos, int lastKeyPos, int steps) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Stringprotected byte[]protected CompletionStage<IterationInitializationContext> initializeIteration(Resp3Handler handler, List<byte[]> arguments) perform(Resp3Handler handler, io.netty.channel.ChannelHandlerContext ctx, List<byte[]> arguments) protected abstract IterationManagerretrieveIterationManager(Resp3Handler handler) protected booleanprotected abstract Collection<byte[]> writeResponse(List<CacheEntry> response) Methods inherited from class org.infinispan.server.resp.RespCommand
extractKeys, fromByteBuf, fromString, getArity, getFirstKeyPos, getLastKeyPos, getName, getSteps, handleException, hasValidNumberOfArguments, match, size, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.server.resp.commands.BaseResp3Command
aclMask
-
Constructor Details
-
BaseIterationCommand
protected BaseIterationCommand(int arity, int firstKeyPos, int lastKeyPos, int steps)
-
-
Method Details
-
getMatch
-
perform
public final CompletionStage<RespRequestHandler> perform(Resp3Handler handler, io.netty.channel.ChannelHandlerContext ctx, List<byte[]> arguments) - Specified by:
performin interfaceResp3Command
-
writeCursor
protected boolean writeCursor() -
retrieveIterationManager
-
initializeIteration
protected CompletionStage<IterationInitializationContext> initializeIteration(Resp3Handler handler, List<byte[]> arguments) -
cursor
-
writeResponse
-