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