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

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -