Redis Script Manager for Java with Jedis
Simple manager for scripting of Redis with Jedis.
This library is Java port of p5-Redis-Script.
Usage
final Jedis jedis = new Jedis("127.0.0.1", 6379);
final JedisScriptManager scriptManager = new JedisScriptManager(jedis, "redis.call('SET', KEYS[1], ARGV[1])");
scriptManager.eval(new String[] { "sample_key" }, new String[] { "42" });
See Also
- https://github.com/moznion/redis-script-manager-core
- https://github.com/moznion/redis-script-manager-lettuce
- https://github.com/shogo82148/p5-Redis-Script
Author
moznion ([email protected])
License
MIT