You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jedis...@googlegroups.com
Hi
I am using latest Jedis (2.7.0) with Redis 3.0.0 version on Master/Slave mode.
I just want to know what is the best suitable way to get a resource from the pool. At the moment my coding is:
jedisSentinelPool = new JedisSentinelPool(MASTER_NAME, sentinels);
jedis = jedisSentinelPool.getResource();
My jedisinstance is singleton through out the application and is this the right way? Or do I need to get a resource every time when I need to do a get/set?
Thanks
Roshan
Marcos NiLs
unread,
Apr 22, 2015, 9:38:06 AM4/22/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jedis...@googlegroups.com
Rosha, you should get a resource every time you need to make an operation to redis.