public final ClientSocketFactory getLoadBalanceSocketPool ( ) { ClientSocketFactory factory = getLoadBalanceSocketFactory ( ) ; if ( factory == null ) return null ; if ( _serverBartender . getState ( ) . isDisableSoft ( ) ) { factory . enableSessionOnly ( ) ; } else if ( _serverBartender . getState ( ) . isDisabled ( ) ) { // server/269g factory . disable ( ) ; } else { factory . enable ( ) ; } return factory ; }
Returns the socket pool as a load - balancer .