Class EVAL
java.lang.Object
org.infinispan.server.resp.RespCommand
org.infinispan.server.resp.commands.scripting.eval.EVAL
- All Implemented Interfaces:
BaseResp3Command,Resp3Command
- Direct Known Subclasses:
EVAL_RO,EVALSHA,EVALSHA_RO
EVAL
In Redis, use of EVAL is discouraged for repeated invocations of the same script. Redis stores such scripts
in a bounded cache to avoid unlimited growth and recommends using the SCRIPT LOAD in combination with
EVALSHA and EVALSHA_RO instead.
Infinispan doesn't cache scripts
- Since:
- 15.2
- See Also:
-
Field Summary
Fields inherited from class org.infinispan.server.resp.RespCommand
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionperform(Resp3Handler handler, io.netty.channel.ChannelHandlerContext ctx, List<byte[]> arguments) protected CompletionStage<RespRequestHandler> performEval(Resp3Handler handler, io.netty.channel.ChannelHandlerContext ctx, String script, String[] keys, String[] argv) Methods inherited from class org.infinispan.server.resp.RespCommand
aclMask, 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
-
EVAL
public EVAL()
-
-
Method Details
-
perform
public final CompletionStage<RespRequestHandler> perform(Resp3Handler handler, io.netty.channel.ChannelHandlerContext ctx, List<byte[]> arguments) - Specified by:
performin interfaceResp3Command
-
performEval
protected CompletionStage<RespRequestHandler> performEval(Resp3Handler handler, io.netty.channel.ChannelHandlerContext ctx, String script, String[] keys, String[] argv)
-