public class DiscoveryAddressTranslator extends Object implements AddressTranslator
Constructor and Description |
---|
DiscoveryAddressTranslator(DiscoveryService discoveryService,
boolean usePublic) |
Modifier and Type | Method and Description |
---|---|
void |
refresh()
Refreshes the internal lookup table if necessary.
|
Address |
translate(Address address)
Translates the given address to another address specific to
network or service
|
public DiscoveryAddressTranslator(DiscoveryService discoveryService, boolean usePublic)
public Address translate(Address address)
AddressTranslator
translate
in interface AddressTranslator
public void refresh()
AddressTranslator
refresh
in interface AddressTranslator
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.