Package redis.clients.jedis.commands
Interface JedisClusterScriptingCommands
-
- All Known Implementing Classes:
JedisCluster
public interface JedisClusterScriptingCommands
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objecteval(String script, int keyCount, String... params)Objecteval(String script, String sampleKey)Objecteval(String script, List<String> keys, List<String> args)Objectevalsha(String sha1, int keyCount, String... params)Objectevalsha(String sha1, String sampleKey)Objectevalsha(String sha1, List<String> keys, List<String> args)BooleanscriptExists(String sha1, String sampleKey)List<Boolean>scriptExists(String sampleKey, String... sha1)StringscriptFlush(String sampleKey)StringscriptKill(String sampleKey)StringscriptLoad(String script, String sampleKey)
-
-
-
Method Detail
-
eval
Object eval(String script, String sampleKey)
- Parameters:
script-sampleKey- Command will be executed in the node where the hash slot of this key is assigned to- Returns:
-
evalsha
Object evalsha(String sha1, String sampleKey)
- Parameters:
sha1-sampleKey- Command will be executed in the node where the hash slot of this key is assigned to- Returns:
-
scriptExists
Boolean scriptExists(String sha1, String sampleKey)
- Parameters:
sha1-sampleKey- Command will be executed in the node where the hash slot of this key is assigned to- Returns:
-
scriptExists
List<Boolean> scriptExists(String sampleKey, String... sha1)
- Parameters:
sampleKey- Command will be executed in the node where the hash slot of this key is assigned tosha1-- Returns:
-
scriptLoad
String scriptLoad(String script, String sampleKey)
- Parameters:
script-sampleKey- Command will be executed in the node where the hash slot of this key is assigned to- Returns:
-
scriptFlush
String scriptFlush(String sampleKey)
- Parameters:
sampleKey- Command will be executed in the node where the hash slot of this key is assigned to- Returns:
-
-