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 RScriptpublic RFuture<String> scriptLoadAsync(String luaScript)
scriptLoadAsync in interface RScriptAsyncpublic <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 RScriptAsyncpublic <R> RFuture<R> evalAsync(RScript.Mode mode, Codec codec, String luaScript, RScript.ReturnType returnType, List<Object> keys, Object... values)
evalAsync in interface RScriptAsyncpublic <R> RFuture<R> evalAsync(String key, RScript.Mode mode, Codec codec, String luaScript, RScript.ReturnType returnType, List<Object> keys, Object... values)
evalAsync in interface RScriptAsyncpublic <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 RScriptAsyncpublic <R> RFuture<R> evalShaAsync(RScript.Mode mode, Codec codec, String shaDigest, RScript.ReturnType returnType, List<Object> keys, Object... values)
evalShaAsync in interface RScriptAsyncpublic <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 RScriptpublic void scriptKill(String key)
public RFuture<Void> scriptKillAsync()
scriptKillAsync in interface RScriptAsyncpublic List<Boolean> scriptExists(String... shaDigests)
scriptExists in interface RScriptpublic RFuture<List<Boolean>> scriptExistsAsync(String... shaDigests)
scriptExistsAsync in interface RScriptAsyncpublic void scriptFlush()
scriptFlush in interface RScriptpublic void scriptFlush(String key)
public RFuture<Void> scriptFlushAsync()
scriptFlushAsync in interface RScriptAsyncpublic <R> RFuture<R> evalShaAsync(RScript.Mode mode, String shaDigest, RScript.ReturnType returnType)
evalShaAsync in interface RScriptAsyncpublic <R> RFuture<R> evalShaAsync(RScript.Mode mode, Codec codec, String shaDigest, RScript.ReturnType returnType)
evalShaAsync in interface RScriptAsyncpublic <R> RFuture<R> evalAsync(RScript.Mode mode, String luaScript, RScript.ReturnType returnType)
evalAsync in interface RScriptAsyncpublic <R> RFuture<R> evalAsync(RScript.Mode mode, Codec codec, String luaScript, RScript.ReturnType returnType)
evalAsync in interface RScriptAsyncCopyright © 2014–2018 The Redisson Project. All rights reserved.