Package com.hazelcast.client.util
Class AddressHelper
java.lang.Object
com.hazelcast.client.util.AddressHelper
This is a client side utility class for working with addresses and cluster connections
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.hazelcast.client.impl.connection.Addresses
getPossibleSocketAddresses
(int port, String scopedAddress, int portTryCount, com.hazelcast.client.impl.management.ClientConnectionProcessListenerRunner listenerRunner) static String
getScopedHostName
(com.hazelcast.internal.util.AddressUtil.AddressHolder addressHolder) static com.hazelcast.client.impl.connection.Addresses
getSocketAddresses
(String address, com.hazelcast.client.impl.management.ClientConnectionProcessListenerRunner listenerRunner)
-
Method Details
-
getScopedHostName
public static String getScopedHostName(com.hazelcast.internal.util.AddressUtil.AddressHolder addressHolder) -
getSocketAddresses
public static com.hazelcast.client.impl.connection.Addresses getSocketAddresses(String address, com.hazelcast.client.impl.management.ClientConnectionProcessListenerRunner listenerRunner) -
getPossibleSocketAddresses
public static com.hazelcast.client.impl.connection.Addresses getPossibleSocketAddresses(int port, String scopedAddress, int portTryCount, com.hazelcast.client.impl.management.ClientConnectionProcessListenerRunner listenerRunner)
-