Skip to content
Advertisement

Access Redis connection pool using Spring Data Redis

I want to monitor and periodically log information about the Redis Connection Pool usage.

I use Redis through spring-data-redis RedisTemplate object.

Is there any way to access pool?

Advertisement

Answer

I was able to access internal pool using reflection API.

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement