com.hazelcast.client.util

## Class AddressHelper

- java.lang.Object
- - com.hazelcast.client.util.AddressHelper

-     public final class AddressHelper
      extends Object

  This is a client side utility class for working with addresses and cluster connections

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Addresses` | `getPossibleSocketAddresses(int port, String scopedAddress, int portTryCount)`
    `static String` | `getScopedHostName(AddressUtil.AddressHolder addressHolder)`
    `static Addresses` | `getSocketAddresses(String address)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getScopedHostName

          public static String getScopedHostName(AddressUtil.AddressHolder addressHolder)

    - #### getSocketAddresses

          public static Addresses getSocketAddresses(String address)

    - #### getPossibleSocketAddresses

          public static Addresses getPossibleSocketAddresses(int port,
                                                             String scopedAddress,
                                                             int portTryCount)

Copyright © 2019. All rights reserved.