Package | Description |
---|---|
com.ibm.cloud.objectstorage | |
com.ibm.cloud.objectstorage.client | |
com.ibm.cloud.objectstorage.client.builder | |
com.ibm.cloud.objectstorage.http | |
com.ibm.cloud.objectstorage.internal | |
com.ibm.cloud.objectstorage.metrics |
Classes used to support the AWS SDK metrics API.
|
com.ibm.cloud.objectstorage.services.s3 |
Synchronous client for accessing Amazon S3.
|
Modifier and Type | Method and Description |
---|---|
RequestMetricCollector |
AmazonWebServiceRequest.getRequestMetricCollector()
Returns a request level metric collector; or null if not specified.
|
abstract RequestMetricCollector |
RequestConfig.getRequestMetricsCollector() |
RequestMetricCollector |
AmazonWebServiceClient.getRequestMetricsCollector()
Returns the client specific
RequestMetricCollector ; or null if
there is none. |
protected RequestMetricCollector |
AmazonWebServiceClient.requestMetricCollector()
Returns the client specific request metric collector if there is one; or
the one at the AWS SDK level otherwise.
|
Modifier and Type | Method and Description |
---|---|
void |
AmazonWebServiceRequest.setRequestMetricCollector(RequestMetricCollector requestMetricCollector)
Sets a request level request metric collector which takes precedence over the ones at the
http client level and AWS SDK level.
|
<T extends AmazonWebServiceRequest> |
AmazonWebServiceRequest.withRequestMetricCollector(RequestMetricCollector metricCollector)
Specifies a request level metric collector which takes precedence over the ones at the http
client level and AWS SDK level.
|
Constructor and Description |
---|
AmazonWebServiceClient(ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
Constructs a new AmazonWebServiceClient object using the specified
configuration and request metric collector.
|
AmazonWebServiceClient(ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector,
boolean disableStrictHostNameVerification) |
Modifier and Type | Method and Description |
---|---|
abstract RequestMetricCollector |
AwsSyncClientParams.getRequestMetricCollector() |
Modifier and Type | Method and Description |
---|---|
RequestMetricCollector |
AwsClientBuilder.getMetricsCollector()
Gets the
RequestMetricCollector in use by the builder. |
RequestMetricCollector |
AwsClientBuilder.SyncBuilderParams.getRequestMetricCollector() |
Modifier and Type | Method and Description |
---|---|
void |
AwsClientBuilder.setMetricsCollector(RequestMetricCollector metrics)
Sets a custom RequestMetricCollector to use for the client.
|
Subclass |
AwsClientBuilder.withMetricsCollector(RequestMetricCollector metrics)
Sets a custom RequestMetricCollector to use for the client.
|
Modifier and Type | Method and Description |
---|---|
RequestMetricCollector |
AmazonHttpClient.getRequestMetricCollector()
Returns the httpClientSettings client specific request metric collector; or null if there is
none.
|
Modifier and Type | Method and Description |
---|---|
AmazonHttpClient.Builder |
AmazonHttpClient.Builder.requestMetricCollector(RequestMetricCollector requestMetricCollector) |
Constructor and Description |
---|
AmazonHttpClient(ClientConfiguration clientConfig,
ConnectionManagerAwareHttpClient httpClient,
RequestMetricCollector requestMetricCollector,
TokenBucket tokenBucket)
Package-protected constructor for unit test purposes.
|
AmazonHttpClient(ClientConfiguration config,
RequestMetricCollector requestMetricCollector)
Constructs a new AWS client using the specified client configuration options (ex: max retry
attempts, proxy httpClientSettings, etc), and request metric collector.
|
AmazonHttpClient(ClientConfiguration config,
RequestMetricCollector requestMetricCollector,
boolean useBrowserCompatibleHostNameVerifier)
Constructs a new AWS client using the specified client configuration options (ex: max retry
attempts, proxy httpClientSettings, etc), and request metric collector.
|
AmazonHttpClient(ClientConfiguration config,
RequestMetricCollector requestMetricCollector,
boolean useBrowserCompatibleHostNameVerifier,
boolean calculateCRC32FromCompressedData)
Constructs a new AWS client using the specified client configuration options (ex: max retry
attempts, proxy httpClientSettings, etc), and request metric collector.
|
Modifier and Type | Method and Description |
---|---|
RequestMetricCollector |
AmazonWebServiceRequestAdapter.getRequestMetricsCollector() |
Modifier and Type | Field and Description |
---|---|
static RequestMetricCollector |
RequestMetricCollector.NONE
A convenient instance of a no-op request metric collector.
|
Modifier and Type | Method and Description |
---|---|
static <T extends RequestMetricCollector> |
AwsSdkMetrics.getRequestMetricCollector()
Returns a non-null request metric collector for the SDK.
|
Modifier and Type | Method and Description |
---|---|
RequestMetricCollector |
RequestMetricCollector.Factory.getRequestMetricCollector()
Returns an instance of the collector; or null if if failed to create
one.
|
abstract RequestMetricCollector |
MetricCollector.getRequestMetricCollector() |
Modifier and Type | Method and Description |
---|---|
void |
AmazonS3Client.setBucketAcl(String bucketName,
AccessControlList acl,
RequestMetricCollector requestMetricCollector)
Same as
AmazonS3Client.setBucketAcl(String, AccessControlList)
but allows specifying a request metric collector. |
void |
AmazonS3Client.setBucketAcl(String bucketName,
CannedAccessControlList cannedAcl,
RequestMetricCollector requestMetricCollector)
Same as
AmazonS3Client.setBucketAcl(String, CannedAccessControlList)
but allows specifying a request metric collector. |
void |
AmazonS3Client.setObjectAcl(String bucketName,
String key,
String versionId,
AccessControlList acl,
RequestMetricCollector requestMetricCollector)
Same as
AmazonS3Client.setObjectAcl(String, String, String, AccessControlList)
but allows specifying a request metric collector. |
void |
AmazonS3Client.setObjectAcl(String bucketName,
String key,
String versionId,
CannedAccessControlList acl,
RequestMetricCollector requestMetricCollector)
Same as
AmazonS3Client.setObjectAcl(String, String, String, CannedAccessControlList)
but allows specifying a request metric collector. |
Constructor and Description |
---|
AmazonS3Client(AWSCredentialsProvider credentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
|
Copyright © 2024. All rights reserved.