public class CloudStoreSeedNodeProviderConfig extends CloudPropertiesBase<CloudStoreSeedNodeProviderConfig>
CloudStoreSeedNodeProvider.CloudStoreSeedNodeProvider| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_CLEANUP_INTERVAL
Default value (=60000L) for
setCleanupInterval(long). |
| Constructor and Description |
|---|
CloudStoreSeedNodeProviderConfig() |
| Modifier and Type | Method and Description |
|---|---|
long |
getCleanupInterval()
Returns the time interval in milliseconds between stale node cleanup runs (see
setCleanupInterval(long)). |
String |
getContainer()
Returns the name of a
BlobStore container (see setContainer(String)). |
CredentialsSupplier |
getCredentials()
Returns the supplier of
BlobStore credentials (see setCredentials(CredentialsSupplier)). |
Properties |
getProperties()
Returns the
BlobStore provider-specific properties (see setProperties(Properties)). |
String |
getProvider()
Returns the name of a
BlobStore provider (see setProvider(String)). |
void |
setCleanupInterval(long cleanupInterval)
Sets the time interval in milliseconds between stale node cleanup runs.
|
void |
setContainer(String container)
Returns the name of a
BlobStore container (f.e. |
void |
setCredentials(CredentialsSupplier credentials)
Sets the supplier of
BlobStore credentials. |
void |
setProperties(Properties properties)
Sets the
BlobStore provider-specific properties. |
void |
setProvider(String provider)
Sets the name of a
BlobStore provider (f.e "aws-s3"). |
String |
toString() |
CloudStoreSeedNodeProviderConfig |
withCleanupInterval(long cleanupInterval)
Fluent-style version of
setCleanupInterval(long). |
CloudStoreSeedNodeProviderConfig |
withContainer(String container)
Fluent-style version of
setContainer(String). |
CloudStoreSeedNodeProviderConfig |
withCredentials(CredentialsSupplier credentials)
Fluent-style version of
setCredentials(CredentialsSupplier). |
CloudStoreSeedNodeProviderConfig |
withProperty(String key,
String value)
Fluent-style version of
setCredentials(CredentialsSupplier). |
CloudStoreSeedNodeProviderConfig |
withProvider(String provider)
Fluent-style version of
setProvider(String). |
buildBaseProperties, getConnectTimeout, getSoTimeout, setConnectTimeout, setSoTimeout, withConnectTimeout, withSoTimeoutpublic static final long DEFAULT_CLEANUP_INTERVAL
setCleanupInterval(long).public String getProvider()
BlobStore provider (see setProvider(String)).BlobStore provider.public void setProvider(String provider)
BlobStore provider (f.e "aws-s3").provider - Name of a BlobStore provider.public CloudStoreSeedNodeProviderConfig withProvider(String provider)
setProvider(String).provider - Name of a BlobStore provider.public CredentialsSupplier getCredentials()
BlobStore credentials (see setCredentials(CredentialsSupplier)).BlobStore credentials.public void setCredentials(CredentialsSupplier credentials)
BlobStore credentials.credentials - Supplier of BlobStore credentials.public CloudStoreSeedNodeProviderConfig withCredentials(CredentialsSupplier credentials)
setCredentials(CredentialsSupplier).credentials - Supplier of BlobStore credentials.public Properties getProperties()
BlobStore provider-specific properties (see setProperties(Properties)).public void setProperties(Properties properties)
BlobStore provider-specific properties.properties - Provider properties.public CloudStoreSeedNodeProviderConfig withProperty(String key, String value)
setCredentials(CredentialsSupplier).key - Property key.value - Property value.public long getCleanupInterval()
setCleanupInterval(long)).public void setCleanupInterval(long cleanupInterval)
Default value of this parameter is 60000L.
For more details please see the documentation of SeedNodeProvider.
cleanupInterval - Time interval in milliseconds.SeedNodeProvider.cleanupInterval()public CloudStoreSeedNodeProviderConfig withCleanupInterval(long cleanupInterval)
setCleanupInterval(long).cleanupInterval - Time interval in milliseconds.public String getContainer()
BlobStore container (see setContainer(String)).public void setContainer(String container)
BlobStore container (f.e. Amazon S3 bucket) to store all information about the cluster seed nodes.container - Name of a container (f.e. Amazon S3 bucket) to store all information about the cluster seed nodes.public CloudStoreSeedNodeProviderConfig withContainer(String container)
setContainer(String).container - Name of a container (f.e. Amazon S3 bucket) to store all information about the cluster seed nodes.