public abstract class AsyncWriteChannelOptions extends Object
AbstractGoogleAsyncWriteChannel
.Modifier and Type | Class and Description |
---|---|
static class |
AsyncWriteChannelOptions.Builder
Mutable builder for the GoogleCloudStorageWriteChannelOptions class.
|
static class |
AsyncWriteChannelOptions.PipeType
Pipe used for output stream.
|
Modifier and Type | Field and Description |
---|---|
static int |
BUFFER_SIZE_DEFAULT
Default upload buffer size.
|
static AsyncWriteChannelOptions |
DEFAULT |
static long |
DEFAULT_GRPC_WRITE_MESSAGE_TIMEOUT_MILLIS |
static long |
DEFAULT_GRPC_WRITE_TIMEOUT
Default timeout for grpc write stream.
|
static long |
DEFAULT_NUM_REQUESTS_BUFFERED_GRPC
Default number of insert requests to retain, in case we need to rewind and resume an upload
|
static boolean |
DIRECT_UPLOAD_ENABLED_DEFAULT
Default of whether to use direct upload.
|
static boolean |
GRPC_CHECKSUMS_ENABLED_DEFAULT
Default of whether to enabled checksums for gRPC.
|
static int |
PIPE_BUFFER_SIZE_DEFAULT
Default pipe buffer size.
|
static AsyncWriteChannelOptions.PipeType |
PIPE_TYPE_DEFAULT |
static int |
UPLOAD_CACHE_SIZE_DEFAULT
Default upload cache size.
|
static int |
UPLOAD_CHUNK_SIZE_DEFAULT
Default upload chunk size.
|
static int |
UPLOAD_CHUNK_SIZE_GRANULARITY
Upload chunk size granularity
|
Constructor and Description |
---|
AsyncWriteChannelOptions() |
Modifier and Type | Method and Description |
---|---|
static AsyncWriteChannelOptions.Builder |
builder() |
abstract int |
getBufferSize() |
abstract long |
getGrpcWriteMessageTimeoutMillis() |
abstract long |
getGrpcWriteTimeout() |
abstract long |
getNumberOfBufferedRequests() |
abstract int |
getPipeBufferSize() |
abstract AsyncWriteChannelOptions.PipeType |
getPipeType() |
abstract int |
getUploadCacheSize() |
abstract int |
getUploadChunkSize() |
abstract boolean |
isDirectUploadEnabled() |
abstract boolean |
isGrpcChecksumsEnabled() |
abstract AsyncWriteChannelOptions.Builder |
toBuilder() |
public static final int BUFFER_SIZE_DEFAULT
public static final int PIPE_BUFFER_SIZE_DEFAULT
public static final int UPLOAD_CHUNK_SIZE_GRANULARITY
public static final int UPLOAD_CHUNK_SIZE_DEFAULT
public static final int UPLOAD_CACHE_SIZE_DEFAULT
public static final boolean DIRECT_UPLOAD_ENABLED_DEFAULT
public static final boolean GRPC_CHECKSUMS_ENABLED_DEFAULT
public static final long DEFAULT_GRPC_WRITE_TIMEOUT
public static final long DEFAULT_NUM_REQUESTS_BUFFERED_GRPC
public static final long DEFAULT_GRPC_WRITE_MESSAGE_TIMEOUT_MILLIS
public static final AsyncWriteChannelOptions.PipeType PIPE_TYPE_DEFAULT
public static final AsyncWriteChannelOptions DEFAULT
public static AsyncWriteChannelOptions.Builder builder()
public abstract AsyncWriteChannelOptions.Builder toBuilder()
public abstract int getBufferSize()
public abstract int getPipeBufferSize()
public abstract AsyncWriteChannelOptions.PipeType getPipeType()
public abstract int getUploadChunkSize()
public abstract int getUploadCacheSize()
public abstract boolean isDirectUploadEnabled()
public abstract boolean isGrpcChecksumsEnabled()
public abstract long getGrpcWriteTimeout()
public abstract long getNumberOfBufferedRequests()
public abstract long getGrpcWriteMessageTimeoutMillis()
Copyright © 2023. All rights reserved.