spring - How to get the current info of the JedisPool -


when use spring-data-redis inject redisconnectionfactory , setup poolconfig, how can infomation of pool in runtime, because found factory not expose pool. thank advance.^.^

my code :

@bean public redisconnectionfactory jedisconnectionfactory() {      jedispoolconfig poolconfig = new jedispoolconfig();     poolconfig.setmaxidle(128);     poolconfig.setjmxenabled(true);     poolconfig.setmaxtotal(8);     poolconfig.setminidle(2);      jedisconnectionfactory factory = new jedisconnectionfactory(poolconfig);     factory.sethostname("localhost");     factory.setport(6379);     factory.setusepool(true);      return factory; } 


Comments

Popular posts from this blog

ruby on rails - ActiveRecord order not working -

java - AEM: 403 Forbidden occurs when call a Post servlet -

How to embed a map into Netlogo using GIS extension? -