public class TcpDiscoveryGoogleStorageIpFinder extends TcpDiscoveryIpFinderAdapter
For information about Cloud Storage visit cloud.google.com.
setServiceAccountId(String))setServiceAccountP12FilePath(String))setProjectName(String))setBucketName(String))setShared(boolean))
The finder will create a bucket with the provided name. The bucket will contain entries named
like the following: 192.168.1.136#1001.
Note that storing data in Google Cloud Storage service will result in charges to your Google Cloud Platform 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 |
|---|
TcpDiscoveryGoogleStorageIpFinder() |
| Modifier and Type | Method and Description |
|---|---|
Collection<InetSocketAddress> |
getRegisteredAddresses() |
void |
registerAddresses(Collection<InetSocketAddress> addrs) |
TcpDiscoveryGoogleStorageIpFinder |
setBucketName(String bucketName)
Sets Google Cloud Storage bucket name.
|
TcpDiscoveryGoogleStorageIpFinder |
setProjectName(String projectName)
Sets Google Cloud Platforms project name.
|
TcpDiscoveryGoogleStorageIpFinder |
setServiceAccountId(String id)
Sets the service account ID (typically an e-mail address).
|
TcpDiscoveryGoogleStorageIpFinder |
setServiceAccountP12FilePath(String p12FileName)
Sets a full path to the private key in PKCS12 format of the Service Account.
|
TcpDiscoveryGoogleStorageIpFinder |
setShared(boolean shared) |
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 TcpDiscoveryGoogleStorageIpFinder setProjectName(String projectName)
For details refer to Google Cloud Platform API reference.
projectName - Project name.this for chaining.@IgniteSpiConfiguration(optional=false) public TcpDiscoveryGoogleStorageIpFinder setBucketName(String bucketName)
setServiceAccountId(String)) must be authorized to
perform this operation.bucketName - Bucket name.this for chaining.@IgniteSpiConfiguration(optional=false) public TcpDiscoveryGoogleStorageIpFinder setServiceAccountP12FilePath(String p12FileName)
For more information please refer to Service Account Authentication.
p12FileName - Private key file full path.this for chaining.@IgniteSpiConfiguration(optional=false) public TcpDiscoveryGoogleStorageIpFinder setServiceAccountId(String id)
For more information please refer to Service Account Authentication.
id - Service account ID.this for chaining.public TcpDiscoveryGoogleStorageIpFinder setShared(boolean shared)
setShared in class TcpDiscoveryIpFinderAdapterpublic String toString()
toString in class TcpDiscoveryIpFinderAdapter
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.28 Release Date : December 12 2025