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 TypeMethodDescriptionlongaclMask()perform(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
extractKeys, fromByteBuf, fromString, getArity, getFirstKeyPos, getLastKeyPos, getName, getSteps, handleException, hasValidNumberOfArguments, match, size, toString
-
Constructor Details
-
EVAL
public EVAL()
-
-
Method Details
-
aclMask
public long aclMask()- Specified by:
aclMaskin interfaceBaseResp3Command
-
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)
-