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<org.infinispan.server.iteration.IterationInitializationContext> initializeIteration(Resp3Handler handler, List<byte[]> arguments) perform(Resp3Handler handler, io.netty.channel.ChannelHandlerContext ctx, List<byte[]> arguments) protected abstract org.infinispan.server.iteration.IterationManagerretrieveIterationManager(Resp3Handler handler) protected booleanprotected abstract Collection<byte[]> writeResponse(List<org.infinispan.container.entries.CacheEntry> response) Methods inherited from class org.infinispan.server.resp.RespCommand
extractKeys, fromByteBuf, 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.Resp3Command
handleException
-
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
protected abstract org.infinispan.server.iteration.IterationManager retrieveIterationManager(Resp3Handler handler) -
initializeIteration
protected CompletionStage<org.infinispan.server.iteration.IterationInitializationContext> initializeIteration(Resp3Handler handler, List<byte[]> arguments) -
cursor
-
writeResponse
protected abstract Collection<byte[]> writeResponse(List<org.infinispan.container.entries.CacheEntry> response)
-