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
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
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:
performin interfaceResp3Command
-
writeCursor
protected boolean writeCursor() -
retrieveIterationManager
-
initializeIteration
protected CompletionStage<IterationInitializationContext> initializeIteration(Resp3Handler handler, List<byte[]> arguments) -
cursor
-
writeResponse
-