public class RedissonScript extends Object implements RScript
RScript.Mode, RScript.ReturnType
Modifier | Constructor and Description |
---|---|
protected |
RedissonScript(CommandAsyncExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
<R> R |
eval(RScript.Mode mode,
Codec codec,
String luaScript,
RScript.ReturnType returnType) |
<R> R |
eval(RScript.Mode mode,
Codec codec,
String luaScript,
RScript.ReturnType returnType,
List<Object> keys,
Object... values) |
<R> R |
eval(RScript.Mode mode,
String luaScript,
RScript.ReturnType returnType) |
<R> R |
eval(RScript.Mode mode,
String luaScript,
RScript.ReturnType returnType,
List<Object> keys,
Object... values) |
<R> R |
eval(String key,
RScript.Mode mode,
Codec codec,
String luaScript,
RScript.ReturnType returnType) |
<R> R |
eval(String key,
RScript.Mode mode,
Codec codec,
String luaScript,
RScript.ReturnType returnType,
List<Object> keys,
Object... values) |
<R> io.netty.util.concurrent.Future<R> |
evalAsync(RScript.Mode mode,
Codec codec,
String luaScript,
RScript.ReturnType returnType) |
<R> io.netty.util.concurrent.Future<R> |
evalAsync(RScript.Mode mode,
Codec codec,
String luaScript,
RScript.ReturnType returnType,
List<Object> keys,
Object... values) |
<R> io.netty.util.concurrent.Future<R> |
evalAsync(RScript.Mode mode,
String luaScript,
RScript.ReturnType returnType) |
<R> io.netty.util.concurrent.Future<R> |
evalAsync(RScript.Mode mode,
String luaScript,
RScript.ReturnType returnType,
List<Object> keys,
Object... values) |
<R> io.netty.util.concurrent.Future<R> |
evalAsync(String key,
RScript.Mode mode,
Codec codec,
String luaScript,
RScript.ReturnType returnType,
List<Object> keys,
Object... values) |
<R> R |
evalSha(RScript.Mode mode,
Codec codec,
String shaDigest,
RScript.ReturnType returnType) |
<R> R |
evalSha(RScript.Mode mode,
Codec codec,
String shaDigest,
RScript.ReturnType returnType,
List<Object> keys,
Object... values) |
<R> R |
evalSha(RScript.Mode mode,
String shaDigest,
RScript.ReturnType returnType) |
<R> R |
evalSha(RScript.Mode mode,
String shaDigest,
RScript.ReturnType returnType,
List<Object> keys,
Object... values) |
<R> R |
evalSha(String key,
RScript.Mode mode,
Codec codec,
String shaDigest,
RScript.ReturnType returnType) |
<R> R |
evalSha(String key,
RScript.Mode mode,
Codec codec,
String shaDigest,
RScript.ReturnType returnType,
List<Object> keys,
Object... values) |
<R> R |
evalSha(String key,
RScript.Mode mode,
String shaDigest,
RScript.ReturnType returnType) |
<R> io.netty.util.concurrent.Future<R> |
evalShaAsync(RScript.Mode mode,
Codec codec,
String shaDigest,
RScript.ReturnType returnType) |
<R> io.netty.util.concurrent.Future<R> |
evalShaAsync(RScript.Mode mode,
Codec codec,
String shaDigest,
RScript.ReturnType returnType,
List<Object> keys,
Object... values) |
<R> io.netty.util.concurrent.Future<R> |
evalShaAsync(RScript.Mode mode,
String shaDigest,
RScript.ReturnType returnType) |
<R> io.netty.util.concurrent.Future<R> |
evalShaAsync(RScript.Mode mode,
String shaDigest,
RScript.ReturnType returnType,
List<Object> keys,
Object... values) |
<R> io.netty.util.concurrent.Future<R> |
evalShaAsync(String key,
RScript.Mode mode,
Codec codec,
String shaDigest,
RScript.ReturnType returnType,
List<Object> keys,
Object... values) |
List<Boolean> |
scriptExists(String... shaDigests) |
List<Boolean> |
scriptExists(String key,
String... shaDigests) |
io.netty.util.concurrent.Future<List<Boolean>> |
scriptExistsAsync(String... shaDigests) |
io.netty.util.concurrent.Future<List<Boolean>> |
scriptExistsAsync(String key,
String... shaDigests) |
void |
scriptFlush() |
void |
scriptFlush(String key) |
io.netty.util.concurrent.Future<Void> |
scriptFlushAsync() |
io.netty.util.concurrent.Future<Void> |
scriptFlushAsync(String key) |
void |
scriptKill() |
void |
scriptKill(String key) |
io.netty.util.concurrent.Future<Void> |
scriptKillAsync() |
io.netty.util.concurrent.Future<Void> |
scriptKillAsync(String key) |
String |
scriptLoad(String luaScript) |
String |
scriptLoad(String key,
String luaScript) |
io.netty.util.concurrent.Future<String> |
scriptLoadAsync(String luaScript) |
io.netty.util.concurrent.Future<String> |
scriptLoadAsync(String key,
String luaScript) |
protected RedissonScript(CommandAsyncExecutor commandExecutor)
public String scriptLoad(String luaScript)
scriptLoad
in interface RScript
public io.netty.util.concurrent.Future<String> scriptLoadAsync(String luaScript)
scriptLoadAsync
in interface RScriptAsync
public io.netty.util.concurrent.Future<String> scriptLoadAsync(String key, String luaScript)
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> io.netty.util.concurrent.Future<R> evalAsync(RScript.Mode mode, String luaScript, RScript.ReturnType returnType, List<Object> keys, Object... values)
evalAsync
in interface RScriptAsync
public <R> io.netty.util.concurrent.Future<R> evalAsync(RScript.Mode mode, Codec codec, String luaScript, RScript.ReturnType returnType, List<Object> keys, Object... values)
evalAsync
in interface RScriptAsync
public <R> io.netty.util.concurrent.Future<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> io.netty.util.concurrent.Future<R> evalShaAsync(RScript.Mode mode, String shaDigest, RScript.ReturnType returnType, List<Object> keys, Object... values)
evalShaAsync
in interface RScriptAsync
public <R> io.netty.util.concurrent.Future<R> evalShaAsync(RScript.Mode mode, Codec codec, String shaDigest, RScript.ReturnType returnType, List<Object> keys, Object... values)
evalShaAsync
in interface RScriptAsync
public <R> io.netty.util.concurrent.Future<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 io.netty.util.concurrent.Future<Void> scriptKillAsync()
scriptKillAsync
in interface RScriptAsync
public List<Boolean> scriptExists(String... shaDigests)
scriptExists
in interface RScript
public io.netty.util.concurrent.Future<List<Boolean>> scriptExistsAsync(String... shaDigests)
scriptExistsAsync
in interface RScriptAsync
public io.netty.util.concurrent.Future<List<Boolean>> scriptExistsAsync(String key, String... shaDigests)
public void scriptFlush()
scriptFlush
in interface RScript
public void scriptFlush(String key)
public io.netty.util.concurrent.Future<Void> scriptFlushAsync()
scriptFlushAsync
in interface RScriptAsync
public <R> io.netty.util.concurrent.Future<R> evalShaAsync(RScript.Mode mode, String shaDigest, RScript.ReturnType returnType)
evalShaAsync
in interface RScriptAsync
public <R> io.netty.util.concurrent.Future<R> evalShaAsync(RScript.Mode mode, Codec codec, String shaDigest, RScript.ReturnType returnType)
evalShaAsync
in interface RScriptAsync
public <R> io.netty.util.concurrent.Future<R> evalAsync(RScript.Mode mode, String luaScript, RScript.ReturnType returnType)
evalAsync
in interface RScriptAsync
public <R> io.netty.util.concurrent.Future<R> evalAsync(RScript.Mode mode, Codec codec, String luaScript, RScript.ReturnType returnType)
evalAsync
in interface RScriptAsync
Copyright © 2014–2016. All rights reserved.