Class BaseIterationCommand
java.lang.Object
org.infinispan.server.resp.RespCommand
org.infinispan.server.resp.commands.iteration.BaseIterationCommand
- All Implemented Interfaces:
Resp3Command
-
Field Summary
Fields inherited from class org.infinispan.server.resp.RespCommand
log
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
BaseIterationCommand
(int arity, int firstKeyPos, int lastKeyPos, int steps) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract String
protected byte[]
protected CompletionStage
<IterationInitializationContext> initializeIteration
(Resp3Handler handler, List<byte[]> arguments) perform
(Resp3Handler handler, io.netty.channel.ChannelHandlerContext ctx, List<byte[]> arguments) protected abstract IterationManager
retrieveIterationManager
(Resp3Handler handler) protected boolean
protected abstract Collection
<byte[]> writeResponse
(List<CacheEntry> response) Methods inherited from class org.infinispan.server.resp.RespCommand
aclMask, extractKeys, fromByteBuf, getArity, getFirstKeyPos, getLastKeyPos, getName, getSteps, handleException, hasValidNumberOfArguments, match, size, toString
-
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:
perform
in interfaceResp3Command
-
writeCursor
protected boolean writeCursor() -
retrieveIterationManager
-
initializeIteration
protected CompletionStage<IterationInitializationContext> initializeIteration(Resp3Handler handler, List<byte[]> arguments) -
cursor
-
writeResponse
-