public class AwsAddressTranslator extends Object implements AddressTranslator
Constructor and Description |
---|
AwsAddressTranslator(ClientAwsConfig awsConfig,
LoggingService loggingService) |
Modifier and Type | Method and Description |
---|---|
void |
refresh()
Refreshes the internal lookup table if necessary.
|
Address |
translate(Address address)
Translates an IP address from the private AWS network to the public network.
|
public AwsAddressTranslator(ClientAwsConfig awsConfig, LoggingService loggingService)
public Address translate(Address address)
translate
in interface AddressTranslator
address
- the private address to translatenull
.public void refresh()
AddressTranslator
refresh
in interface AddressTranslator
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.