public class TcpDiscoveryS3IpFinder extends TcpDiscoveryIpFinderAdapter
For information about Amazon S3 visit aws.amazon.com.
setAwsCredentials(AWSCredentials) and
setAwsCredentialsProvider(AWSCredentialsProvider)setBucketName(String))setClientConfiguration(ClientConfiguration))setShared(boolean))setBucketEndpoint(String))setSSEAlgorithm(String))setKeyPrefix(String))setEncryptionService(EncryptionService))
The finder will create S3 bucket with configured name. The bucket will contain entries named like the following:
192.168.1.136#1001.
Note that storing data in AWS S3 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 by default (see TcpDiscoveryIpFinder.isShared().
ignite| Constructor and Description |
|---|
TcpDiscoveryS3IpFinder()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<InetSocketAddress> |
getRegisteredAddresses() |
void |
registerAddresses(Collection<InetSocketAddress> addrs) |
TcpDiscoveryS3IpFinder |
setAwsCredentials(com.amazonaws.auth.AWSCredentials cred)
Sets AWS credentials.
|
TcpDiscoveryS3IpFinder |
setAwsCredentialsProvider(com.amazonaws.auth.AWSCredentialsProvider credProvider)
Sets AWS credentials provider.
|
TcpDiscoveryS3IpFinder |
setBucketEndpoint(String bucketEndpoint)
Sets bucket endpoint for IP finder.
|
TcpDiscoveryS3IpFinder |
setBucketName(String bucketName)
Sets bucket name for IP finder.
|
TcpDiscoveryS3IpFinder |
setClientConfiguration(com.amazonaws.ClientConfiguration cfg)
Sets Amazon client configuration.
|
TcpDiscoveryS3IpFinder |
setEncryptionService(EncryptionService encryptionSvc)
Sets encryption service for client side node address encryption.
|
TcpDiscoveryS3IpFinder |
setKeyPrefix(String keyPrefix)
This can be thought of as the sub-folder within the bucket that will hold the node addresses.
|
TcpDiscoveryS3IpFinder |
setShared(boolean shared) |
TcpDiscoveryS3IpFinder |
setSSEAlgorithm(String sseAlg)
Sets server-side encryption algorithm for Amazon S3-managed encryption keys.
|
String |
toString() |
void |
unregisterAddresses(Collection<InetSocketAddress> addrs) |
close, discoveryClientMode, initializeLocalAddresses, isShared, onSpiContextDestroyed, onSpiContextInitialized, spiContextpublic Collection<InetSocketAddress> getRegisteredAddresses() throws IgniteSpiException
IgniteSpiExceptionpublic void registerAddresses(Collection<InetSocketAddress> addrs) throws IgniteSpiException
IgniteSpiExceptionpublic void unregisterAddresses(Collection<InetSocketAddress> addrs) throws IgniteSpiException
IgniteSpiException@IgniteSpiConfiguration(optional=false) public TcpDiscoveryS3IpFinder setBucketName(String bucketName)
bucketName - Bucket name.this for chaining.@IgniteSpiConfiguration(optional=true) public TcpDiscoveryS3IpFinder setBucketEndpoint(String bucketEndpoint)
bucketEndpoint - Bucket endpoint, for example, s3.us-east-2.amazonaws.com.this for chaining.@IgniteSpiConfiguration(optional=true) public TcpDiscoveryS3IpFinder setSSEAlgorithm(String sseAlg)
sseAlg - Server-side encryption algorithm, for example, AES256 or SSES3.this for chaining.@IgniteSpiConfiguration(optional=true) public TcpDiscoveryS3IpFinder setClientConfiguration(com.amazonaws.ClientConfiguration cfg)
For details refer to Amazon S3 API reference.
cfg - Amazon client configuration.this for chaining.@IgniteSpiConfiguration(optional=true) public TcpDiscoveryS3IpFinder setEncryptionService(EncryptionService encryptionSvc)
encryptionSvc - Encryption service .this for chaining.@IgniteSpiConfiguration(optional=false) public TcpDiscoveryS3IpFinder setAwsCredentials(com.amazonaws.auth.AWSCredentials cred)
setAwsCredentialsProvider(AWSCredentialsProvider) or this one.
For details refer to Amazon S3 API reference.
cred - AWS credentials.this for chaining.@IgniteSpiConfiguration(optional=false) public TcpDiscoveryS3IpFinder setAwsCredentialsProvider(com.amazonaws.auth.AWSCredentialsProvider credProvider)
setAwsCredentials(AWSCredentials) or this one.
For details refer to Amazon S3 API reference.
credProvider - AWS credentials provider.this for chaining.@IgniteSpiConfiguration(optional=true) public TcpDiscoveryS3IpFinder setKeyPrefix(String keyPrefix)
keyPrefix - AWS credentials provider.this for chaining.public TcpDiscoveryS3IpFinder setShared(boolean shared)
setShared in class TcpDiscoveryIpFinderAdapterpublic String toString()
toString in class TcpDiscoveryIpFinderAdapter
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025