@ Override public void shutdown ( ) { ConnectionPoolMBeanManager . getInstance ( ) . unregisterMonitor ( config . getName ( ) , this ) ; for ( Entry < Host , HostConnectionPool < CL > > pool : hosts . entrySet ( ) ) { pool . getValue ( ) . shutdown ( ) ; } config . getLatencyScoreStrategy ( ) . shutdown ( ) ; config . shutdown ( ) ; }
Clean up resources associated with the conn pool