Redis Script Manager for Java with Jedis
![Maven Central](https://camo.githubusercontent.com/376334781fe6ab7b53e6437012a4bcad6acc1453e83ab8fa75a7808b93980e46/68747470733a2f2f6d6176656e2d6261646765732e6865726f6b756170702e636f6d2f6d6176656e2d63656e7472616c2f6e65742e6d6f7a6e696f6e2f72656469732d7363726970742d6d616e616765722d6a656469732f62616467652e737667)
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