| Package | Description |
|---|---|
| com.google.cloud.hadoop.gcsio |
| Modifier and Type | Method and Description |
|---|---|
static GoogleCloudStorageReadOptions.Builder |
GoogleCloudStorageReadOptions.builder() |
abstract GoogleCloudStorageReadOptions.Builder |
GoogleCloudStorageReadOptions.Builder.setBackoffInitialIntervalMillis(int backoffInitialIntervalMillis)
On exponential back-off, the initial delay before the first retry; subsequent retries then
grow as an exponential function of the current delay interval.
|
abstract GoogleCloudStorageReadOptions.Builder |
GoogleCloudStorageReadOptions.Builder.setBackoffMaxElapsedTimeMillis(int backoffMaxElapsedTimeMillis)
The maximum total time elapsed since the first retry over the course of a series of retries.
|
abstract GoogleCloudStorageReadOptions.Builder |
GoogleCloudStorageReadOptions.Builder.setBackoffMaxIntervalMillis(int backoffMaxIntervalMillis)
The maximum amount of sleep between retries; at this point, there will be no further
exponential back-off.
|
abstract GoogleCloudStorageReadOptions.Builder |
GoogleCloudStorageReadOptions.Builder.setBackoffMultiplier(double backoffMultiplier)
The base of the exponent used for exponential back-off; each subsequent sleep interval is
roughly this many times the previous interval.
|
abstract GoogleCloudStorageReadOptions.Builder |
GoogleCloudStorageReadOptions.Builder.setBackoffRandomizationFactor(double backoffRandomizationFactor)
The amount of jitter introduced when computing the next retry sleep interval so that when
many clients are retrying, they don't all retry at the same time.
|
abstract GoogleCloudStorageReadOptions.Builder |
GoogleCloudStorageReadOptions.Builder.setFadvise(GoogleCloudStorageReadOptions.Fadvise fadvise)
Sets fadvise mode that tunes behavior to optimize HTTP GET requests for various use cases.
|
abstract GoogleCloudStorageReadOptions.Builder |
GoogleCloudStorageReadOptions.Builder.setFastFailOnNotFound(boolean fastFailOnNotFound)
True if attempts to open a new channel on a nonexistent object are required to immediately
throw an IOException.
|
abstract GoogleCloudStorageReadOptions.Builder |
GoogleCloudStorageReadOptions.Builder.setGrpcChecksumsEnabled(boolean grpcChecksumsEnabled)
Sets whether to validate checksums when doing gRPC reads.
|
abstract GoogleCloudStorageReadOptions.Builder |
GoogleCloudStorageReadOptions.Builder.setGrpcReadMessageTimeoutMillis(long grpcMessageTimeout)
Sets the property for gRPC read message timeout in milliseconds.
|
abstract GoogleCloudStorageReadOptions.Builder |
GoogleCloudStorageReadOptions.Builder.setGrpcReadMetadataTimeoutMillis(long grpcReadMetadataTimeoutMillis)
Sets the property to override the default timeout for GCS metadata reads from gRPC.
|
abstract GoogleCloudStorageReadOptions.Builder |
GoogleCloudStorageReadOptions.Builder.setGrpcReadTimeoutMillis(long grpcReadTimeoutMillis)
Sets the property to override the default GCS gRPC read stream timeout.
|
abstract GoogleCloudStorageReadOptions.Builder |
GoogleCloudStorageReadOptions.Builder.setGrpcReadZeroCopyEnabled(boolean grpcReadZeroCopyEnabled)
Sets the property to use the zero-copy deserializer for gRPC read.
|
abstract GoogleCloudStorageReadOptions.Builder |
GoogleCloudStorageReadOptions.Builder.setInplaceSeekLimit(long inplaceSeekLimit)
If seeking to a new position which is within this number of bytes in front of the current
position, then we will skip forward by reading and discarding the necessary amount of bytes
rather than trying to open a brand-new underlying stream.
|
abstract GoogleCloudStorageReadOptions.Builder |
GoogleCloudStorageReadOptions.Builder.setMinRangeRequestSize(int size)
Sets the minimum size of the HTTP Range header that could be set in GCS request when opening
new stream to read an object.
|
abstract GoogleCloudStorageReadOptions.Builder |
GoogleCloudStorageReadOptions.Builder.setSupportGzipEncoding(boolean supportGzipEncoding)
If false then reading a file with GZIP content encoding (HTTP header "Content-Encoding:
gzip") will result in failure (IOException is thrown).
|
abstract GoogleCloudStorageReadOptions.Builder |
GoogleCloudStorageReadOptions.toBuilder() |
Copyright © 2022. All rights reserved.