public synchronized double getWeight ( PoolInfo poolInfo ) { Double weight = ( poolInfoToWeight == null ) ? null : poolInfoToWeight . get ( poolInfo ) ; return weight == null ? 1.0 : weight ; }
Get the weight for the pool