, May 31, 2012 at 4:29 AM, Angelo C. wrote:
> Jedis has a pool, maybe it can be implemented as Hibernate.
>
> Is there anybody using Redis with T5 and how? Thanks
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/T5-and-Redis-tp5713546p5713552.htm
Jedis has a pool, maybe it can be implemented as Hibernate.
Is there anybody using Redis with T5 and how? Thanks
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-and-Redis-tp5713546p5713552.html
Sent from the Tapestry - User mailing list archive at Nabble.com
You could follow the same pattern as used for a hibernate session. See this
recent thread for how it's done
http://tapestry.1045711.n5.nabble.com/About-per-thread-service-td5713515.html
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-and-Redis-tp5713546p5713548
edisServiceImpl() {
this.jedis = new Jedis("localhost");
}
public void add(String key, int count) {
this.jedis.set("test", String.valueOf(count));
}
}
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-and-Redis-tp5713546.html
Se