Package com.google.cloud.hadoop.util
Class AsyncWriteChannelOptions
- java.lang.Object
-
- com.google.cloud.hadoop.util.AsyncWriteChannelOptions
-
public abstract class AsyncWriteChannelOptions extends Object
Options for theAbstractGoogleAsyncWriteChannel.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAsyncWriteChannelOptions.BuilderMutable builder for the GoogleCloudStorageWriteChannelOptions class.static classAsyncWriteChannelOptions.PartFileCleanupTypePart file cleanup strategy for parallel composite upload.static classAsyncWriteChannelOptions.PipeTypePipe used for output stream.static classAsyncWriteChannelOptions.UploadTypeUploadType are in parity with various upload configuration offered by google-java-storage client ref: https://cloud.google.com/java/docs/reference/google-cloud-storage/latest/com.google.cloud.storage.BlobWriteSessionConfigs
-
Field Summary
Fields Modifier and Type Field Description static AsyncWriteChannelOptionsDEFAULT
-
Constructor Summary
Constructors Constructor Description AsyncWriteChannelOptions()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static AsyncWriteChannelOptions.Builderbuilder()abstract intgetBufferSize()abstract DurationgetGrpcWriteMessageTimeout()abstract DurationgetGrpcWriteTimeout()abstract intgetNumberOfBufferedRequests()abstract AsyncWriteChannelOptions.PartFileCleanupTypegetPartFileCleanupType()abstract StringgetPartFileNamePrefix()abstract intgetPCUBufferCapacity()abstract intgetPCUBufferCount()abstract intgetPipeBufferSize()abstract AsyncWriteChannelOptions.PipeTypegetPipeType()abstract com.google.common.collect.ImmutableSet<String>getTemporaryPaths()abstract intgetUploadCacheSize()abstract intgetUploadChunkSize()abstract AsyncWriteChannelOptions.UploadTypegetUploadType()abstract booleanisDirectUploadEnabled()abstract booleanisGrpcChecksumsEnabled()abstract booleanisRollingChecksumEnabled()abstract AsyncWriteChannelOptions.BuildertoBuilder()
-
-
-
Field Detail
-
DEFAULT
public static final AsyncWriteChannelOptions DEFAULT
-
-
Method Detail
-
builder
public static AsyncWriteChannelOptions.Builder builder()
-
toBuilder
public abstract AsyncWriteChannelOptions.Builder toBuilder()
-
getBufferSize
public abstract int getBufferSize()
-
getPipeBufferSize
public abstract int getPipeBufferSize()
-
getPipeType
public abstract AsyncWriteChannelOptions.PipeType getPipeType()
-
getUploadChunkSize
public abstract int getUploadChunkSize()
-
getUploadCacheSize
public abstract int getUploadCacheSize()
-
isDirectUploadEnabled
public abstract boolean isDirectUploadEnabled()
-
isGrpcChecksumsEnabled
public abstract boolean isGrpcChecksumsEnabled()
-
isRollingChecksumEnabled
public abstract boolean isRollingChecksumEnabled()
-
getGrpcWriteTimeout
public abstract Duration getGrpcWriteTimeout()
-
getNumberOfBufferedRequests
public abstract int getNumberOfBufferedRequests()
-
getGrpcWriteMessageTimeout
public abstract Duration getGrpcWriteMessageTimeout()
-
getUploadType
public abstract AsyncWriteChannelOptions.UploadType getUploadType()
-
getPartFileCleanupType
public abstract AsyncWriteChannelOptions.PartFileCleanupType getPartFileCleanupType()
-
getTemporaryPaths
public abstract com.google.common.collect.ImmutableSet<String> getTemporaryPaths()
-
getPCUBufferCount
public abstract int getPCUBufferCount()
-
getPCUBufferCapacity
public abstract int getPCUBufferCapacity()
-
getPartFileNamePrefix
public abstract String getPartFileNamePrefix()
-
-