@ Override public void start ( ) { ConnectionPoolMBeanManager . getInstance ( ) . registerMonitor ( config . getName ( ) , this ) ; String seeds = config . getSeeds ( ) ; if ( seeds != null && ! seeds . isEmpty ( ) ) { setHosts ( config . getSeedHosts ( ) ) ; } config . getLatencyScoreStrategy ( ) . start ( new Listener ( ) { @ Override public void onUpdate ( ) { rebuildPartitions ( ) ; } @ Override public void onReset ( ) { rebuildPartitions ( ) ; } } ) ; }
Starts the conn pool and resources associated with it