org.springframework.data.redis.connection
Interface RedisScriptingCommands

All Known Subinterfaces:
RedisCommands, RedisConnection, StringRedisConnection
All Known Implementing Classes:
DefaultStringRedisConnection, JedisConnection, JredisConnection, LettuceConnection, SrpConnection

public interface RedisScriptingCommands

Scripting commands.


Method Summary
<T> T
eval(byte[] script, ReturnType returnType, int numKeys, byte[]... keysAndArgs)
           
<T> T
evalSha(String scriptSha1, ReturnType returnType, int numKeys, byte[]... keysAndArgs)
           
 List<Boolean> scriptExists(String... scriptSha1)
           
 void scriptFlush()
           
 void scriptKill()
           
 String scriptLoad(byte[] script)
           
 

Method Detail

scriptFlush

void scriptFlush()

scriptKill

void scriptKill()

scriptLoad

String scriptLoad(byte[] script)

scriptExists

List<Boolean> scriptExists(String... scriptSha1)

eval

<T> T eval(byte[] script,
           ReturnType returnType,
           int numKeys,
           byte[]... keysAndArgs)

evalSha

<T> T evalSha(String scriptSha1,
              ReturnType returnType,
              int numKeys,
              byte[]... keysAndArgs)