Package com.google.cloud.hadoop.gcsio
Class GoogleCloudStorageReadOptions
- java.lang.Object
-
- com.google.cloud.hadoop.gcsio.GoogleCloudStorageReadOptions
-
public abstract class GoogleCloudStorageReadOptions extends Object
Advanced options for reading GoogleCloudStorage objects. Immutable; callers must use the innerGoogleCloudStorageReadOptions.Builderclass to construct instances.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGoogleCloudStorageReadOptions.BuilderMutable builder for GoogleCloudStorageReadOptions.static classGoogleCloudStorageReadOptions.FadviseOperational modes of fadvise feature.
-
Field Summary
Fields Modifier and Type Field Description static GoogleCloudStorageReadOptionsDEFAULT
-
Constructor Summary
Constructors Constructor Description GoogleCloudStorageReadOptions()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static GoogleCloudStorageReadOptions.Builderbuilder()abstract DurationgetBackoffInitialInterval()abstract DurationgetBackoffMaxElapsedTime()abstract DurationgetBackoffMaxInterval()abstract doublegetBackoffMultiplier()abstract doublegetBackoffRandomizationFactor()abstract longgetBlockSize()abstract GoogleCloudStorageReadOptions.FadvisegetFadvise()abstract intgetFadviseRequestTrackCount()abstract DurationgetGrpcReadMessageTimeout()abstract DurationgetGrpcReadTimeout()abstract longgetInplaceSeekLimit()abstract longgetMinRangeRequestSize()abstract booleanisFastFailOnNotFoundEnabled()abstract booleanisGrpcChecksumsEnabled()abstract booleanisGrpcReadZeroCopyEnabled()abstract booleanisGzipEncodingSupportEnabled()abstract booleanisReadExactRequestedBytesEnabled()abstract GoogleCloudStorageReadOptions.BuildertoBuilder()
-
-
-
Field Detail
-
DEFAULT
public static final GoogleCloudStorageReadOptions DEFAULT
-
-
Method Detail
-
builder
public static GoogleCloudStorageReadOptions.Builder builder()
-
toBuilder
public abstract GoogleCloudStorageReadOptions.Builder toBuilder()
-
getBackoffInitialInterval
public abstract Duration getBackoffInitialInterval()
-
getBackoffRandomizationFactor
public abstract double getBackoffRandomizationFactor()
-
getBackoffMultiplier
public abstract double getBackoffMultiplier()
-
getBackoffMaxInterval
public abstract Duration getBackoffMaxInterval()
-
getBackoffMaxElapsedTime
public abstract Duration getBackoffMaxElapsedTime()
-
isFastFailOnNotFoundEnabled
public abstract boolean isFastFailOnNotFoundEnabled()
-
isGzipEncodingSupportEnabled
public abstract boolean isGzipEncodingSupportEnabled()
-
getInplaceSeekLimit
public abstract long getInplaceSeekLimit()
-
getFadvise
public abstract GoogleCloudStorageReadOptions.Fadvise getFadvise()
-
getMinRangeRequestSize
public abstract long getMinRangeRequestSize()
-
isGrpcChecksumsEnabled
public abstract boolean isGrpcChecksumsEnabled()
-
isReadExactRequestedBytesEnabled
public abstract boolean isReadExactRequestedBytesEnabled()
-
getGrpcReadTimeout
public abstract Duration getGrpcReadTimeout()
-
isGrpcReadZeroCopyEnabled
public abstract boolean isGrpcReadZeroCopyEnabled()
-
getGrpcReadMessageTimeout
public abstract Duration getGrpcReadMessageTimeout()
-
getBlockSize
public abstract long getBlockSize()
-
getFadviseRequestTrackCount
public abstract int getFadviseRequestTrackCount()
-
-