public String getPeerHostName ( String region ) { return ( ALWAYS_CONNECT_INTERNAL || Objects . equal ( this . region , region ) ) ? hostName : publicHostName ; }
Returns the host name to which peers in the specified region should connect .