| 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.setBufferSize(int bufferSize)
If set to a positive value, low-level streams will be wrapped inside a BufferedInputStream of
this size.
|
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.setGenerationReadConsistency(GoogleCloudStorageReadOptions.GenerationReadConsistency consistency)
Sets the generation read consistency model.
|
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.toBuilder() |
Copyright © 2019. All rights reserved.