public class RedissonScript extends Object implements RScript
RScript.Mode, RScript.ReturnType
Modifier | Constructor and Description |
---|---|
protected |
RedissonScript(CommandAsyncExecutor commandExecutor) |
protected RedissonScript(CommandAsyncExecutor commandExecutor)
public String scriptLoad(String luaScript)
scriptLoad
in interface RScript
public RFuture<String> scriptLoadAsync(String luaScript)
scriptLoadAsync
in interface RScriptAsync
public <R> R eval(RScript.Mode mode, String luaScript, RScript.ReturnType returnType)
public <R> R eval(RScript.Mode mode, Codec codec, String luaScript, RScript.ReturnType returnType)
public <R> R eval(String key, RScript.Mode mode, Codec codec, String luaScript, RScript.ReturnType returnType)
public <R> R eval(RScript.Mode mode, String luaScript, RScript.ReturnType returnType, List<Object> keys, Object... values)
public <R> R eval(RScript.Mode mode, Codec codec, String luaScript, RScript.ReturnType returnType, List<Object> keys, Object... values)
public <R> R eval(String key, RScript.Mode mode, Codec codec, String luaScript, RScript.ReturnType returnType, List<Object> keys, Object... values)
public <R> RFuture<R> evalAsync(RScript.Mode mode, String luaScript, RScript.ReturnType returnType, List<Object> keys, Object... values)
evalAsync
in interface RScriptAsync
public <R> RFuture<R> evalAsync(RScript.Mode mode, Codec codec, String luaScript, RScript.ReturnType returnType, List<Object> keys, Object... values)
evalAsync
in interface RScriptAsync
public <R> RFuture<R> evalAsync(String key, RScript.Mode mode, Codec codec, String luaScript, RScript.ReturnType returnType, List<Object> keys, Object... values)
evalAsync
in interface RScriptAsync
public <R> R evalSha(RScript.Mode mode, String shaDigest, RScript.ReturnType returnType)
public <R> R evalSha(RScript.Mode mode, Codec codec, String shaDigest, RScript.ReturnType returnType)
public <R> R evalSha(String key, RScript.Mode mode, String shaDigest, RScript.ReturnType returnType)
public <R> R evalSha(String key, RScript.Mode mode, Codec codec, String shaDigest, RScript.ReturnType returnType)
public <R> R evalSha(RScript.Mode mode, String shaDigest, RScript.ReturnType returnType, List<Object> keys, Object... values)
public <R> R evalSha(RScript.Mode mode, Codec codec, String shaDigest, RScript.ReturnType returnType, List<Object> keys, Object... values)
public <R> R evalSha(String key, RScript.Mode mode, Codec codec, String shaDigest, RScript.ReturnType returnType, List<Object> keys, Object... values)
public <R> RFuture<R> evalShaAsync(RScript.Mode mode, String shaDigest, RScript.ReturnType returnType, List<Object> keys, Object... values)
evalShaAsync
in interface RScriptAsync
public <R> RFuture<R> evalShaAsync(RScript.Mode mode, Codec codec, String shaDigest, RScript.ReturnType returnType, List<Object> keys, Object... values)
evalShaAsync
in interface RScriptAsync
public <R> RFuture<R> evalShaAsync(String key, RScript.Mode mode, Codec codec, String shaDigest, RScript.ReturnType returnType, List<Object> keys, Object... values)
public void scriptKill()
scriptKill
in interface RScript
public void scriptKill(String key)
public RFuture<Void> scriptKillAsync()
scriptKillAsync
in interface RScriptAsync
public List<Boolean> scriptExists(String... shaDigests)
scriptExists
in interface RScript
public RFuture<List<Boolean>> scriptExistsAsync(String... shaDigests)
scriptExistsAsync
in interface RScriptAsync
public void scriptFlush()
scriptFlush
in interface RScript
public void scriptFlush(String key)
public RFuture<Void> scriptFlushAsync()
scriptFlushAsync
in interface RScriptAsync
public <R> RFuture<R> evalShaAsync(RScript.Mode mode, String shaDigest, RScript.ReturnType returnType)
evalShaAsync
in interface RScriptAsync
public <R> RFuture<R> evalShaAsync(RScript.Mode mode, Codec codec, String shaDigest, RScript.ReturnType returnType)
evalShaAsync
in interface RScriptAsync
public <R> RFuture<R> evalAsync(RScript.Mode mode, String luaScript, RScript.ReturnType returnType)
evalAsync
in interface RScriptAsync
public <R> RFuture<R> evalAsync(RScript.Mode mode, Codec codec, String luaScript, RScript.ReturnType returnType)
evalAsync
in interface RScriptAsync
Copyright © 2014–2018 The Redisson Project. All rights reserved.