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 Collection<Address>` | `getPossibleSocketAddresses(int port, String scopedAddress, int portTryCount)`
    `static String` | `getScopedHostName(AddressUtil.AddressHolder addressHolder)`
    `static Collection<Address>` | `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 Collection<Address> getSocketAddresses(String address)

    - #### getPossibleSocketAddresses

          public static Collection<Address> getPossibleSocketAddresses(int port,
                                                                       String scopedAddress,
                                                                       int portTryCount)

Copyright © 2018. All rights reserved.