public class TcpDiscoveryElbIpFinder extends TcpDiscoveryIpFinderAdapter
For information about Amazon Classic load balancers visit: aws.amazon.com.
setCredentialsProvider(AWSCredentialsProvider)setLoadBalancerName(String))setRegion(String))The finder will fetch all nodes connected under an Classic load balancer and share with its peers for cluster awareness.
Note that using AWS Classic load balancer service will result in charges to your AWS account.
Choose another implementation of TcpDiscoveryIpFinder
for local or home network tests.
Note that this finder is shared.
Note that this finder can only be used on AWS EC2 instances that belong on a Load Balancer based auto scaling group.
TcpDiscoveryAlbIpFinderignite| Constructor and Description |
|---|
TcpDiscoveryElbIpFinder()
Creates Classic load balancer IP finder instance.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<InetSocketAddress> |
getRegisteredAddresses() |
void |
registerAddresses(Collection<InetSocketAddress> addrs) |
void |
setCredentialsProvider(com.amazonaws.auth.AWSCredentialsProvider credsProvider)
Sets AWS credentials provider.
|
void |
setLoadBalancerName(String loadBalancerName)
Sets AWS Classic load balancer name which nodes are plugged under it.
|
void |
setRegion(String region)
Sets Classic load balancer's region.
|
void |
unregisterAddresses(Collection<InetSocketAddress> addrs) |
close, discoveryClientMode, initializeLocalAddresses, isShared, onSpiContextDestroyed, onSpiContextInitialized, setShared, spiContext, toStringpublic TcpDiscoveryElbIpFinder()
public Collection<InetSocketAddress> getRegisteredAddresses() throws IgniteSpiException
IgniteSpiException@IgniteSpiConfiguration(optional=false) public void setLoadBalancerName(String loadBalancerName)
loadBalancerName - AWS Classic load balancer name.@IgniteSpiConfiguration(optional=false) public void setRegion(String region)
region - AWS Classic load balancer region (i.e: us-east-1)@IgniteSpiConfiguration(optional=false) public void setCredentialsProvider(com.amazonaws.auth.AWSCredentialsProvider credsProvider)
credsProvider - AWS credentials provider.public void registerAddresses(Collection<InetSocketAddress> addrs) throws IgniteSpiException
IgniteSpiExceptionpublic void unregisterAddresses(Collection<InetSocketAddress> addrs) throws IgniteSpiException
IgniteSpiException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025